On 03/07/2015 14:28, Ian Dunlop wrote:
Hello,

Pretty much except the keys need quotes around them. Something like this:
String post = "{\"workflow\": 
{\"document\":\"data:application/octet-stream;base64,\""+Base64.encodeToString(sb.toString().getBytes(),

You should not call getBytes on a String without specifying the character set you want to use. It will default to the platform's character set; this causes difficult to debug errors.

Alan

Reply via email to