Skip to content Skip to sidebar Skip to footer

Posting Foreign Characters Using Json Produces 400

I'm trying to make a POST request using JSON with foreign characters, such as the Spanish n with the '~' over it, but I keep getting this request and response error: POST ... Accep

Solution 1:

The new StringEntity constructor takes a "UTF-8" parameter.


Post a Comment for "Posting Foreign Characters Using Json Produces 400"