Encoding JSON post requests

Nelson D December 4, 2013

Am trying to create issues via the REST API. When the JSON object contains a character with a different encoding, I get an error "Server returned HTTP response code: 400 for URL:".

The character's that create this issue are the double quotes in the text here:

This is a “test”

Any suggestions on how to encode the JSON object so that the REST API does not throw this error ?

1 answer

0 votes
Nelson D December 4, 2013

Additional examples of characters that cause issues : æ Пр ø å.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events