I\'m trying to make a POST request to my API and it works in Postman (I get a valid JSON object), but not using Volley. With the follo
POST
Postman
Volley
In Android 2.3 there is a problem using Base64.encodeToString() as it introduces a new line in HTTP header. See my response to this question here in SO.
Short answer: Don't use Base64.encodeToString() but put the already encoded String there.