4 Replies Latest reply on Mar 23, 2017 12:45 AM by Sanford Whiteman

    Multi-language support in REST API


      We have a need to post data through the Marketo Assets API and it may contain characters used in different languages.  We used different charset options (UTF-8, UTF-16, UTF-32) in the HTTP Header but the value that gets stored in Marketo is not accurate.  However, if the same data is copy-pasted using Marketo Portal, it is accepted.  How can we submit data using Json or using x-www-form-urlencoded content type to support such multi-language scenarios while using REST API?


      We are accessing the following endpoint for creating tokens - /rest/asset/v1/folder/folderId/tokens.json.

      The header data is as below.

      Content-Type - application/x-www-form-urlencoded

      charset - UTF-8

      Body as key-value-pairs:

      folderType - Program

      name - Program-name

      value - some text value

      type - text