on 06-07-2015 4:27 PM
Recently, I post data to the external system using pi7.11 http receiver channal. i just send encryped string which is populated by java mapping. but when the external system receive the data, the '+' of the string is changed to space. e.g. the output string from pi7.11 is "data=ZS7s30P+6loqpp6iBdUBeNtqmb5+azF/KUic1", the received string is "data=ZS7s30P 6loqpp6iBdUBeNtqmb5 azF/KUic1", how can i avoid the url escape?
the code of javamapping which i used is so easy:
outdata = "data=ZS7s30P+6loqpp6iBdUBeNtqmb5+azF/KUic1";
output.getOutputPayload().getOutputStream().write(outdata.getBytes("UTF-8"));
Hi,
the code of javamapping which i used is so easy:
outdata = "data=ZS7s30P+6loqpp6iBdUBeNtqmb5+azF/KUic1";
Can you try using %2B instead of +?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.