taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alaninmcr <alanin...@googlemail.com>
Subject Re: GSOC Taverna Mobile: Uploading workflows to the Taverna player
Date Fri, 03 Jul 2015 13:42:29 GMT
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.


View raw message