Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Tags:
Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question