Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

post data with PI Http receiver, but '+' changed to space.

$
0
0

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"));


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>