Encoding JSON post requests

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

129 views 6 8
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you