Encoding data or escape characters in web service create operation

Hi Team,

We need to pass the below data in web service connector create account operation.

“prodmodules”:“{"WC":["TL"]}”

But while passing the above values I noticed that data is getting encoding by appending "" to “{“WC”:[“TL”]}” and passing the data as "{\"WC\":[\"TL\"]}"

Because of the above encoding or inserting escape Web service end point is giving 400. data issue.

Please help me how to resolve this to encode or to put escapte characters.

Regards,
Ravi.

Hi Ravi,

You can try using UTF-8 format for " i.e., %22 and also update your connector attributes with the below entry. This will make sure connector do not encode url again. Hope this is helpful.

“skipEncodingDecodingUrl”: “true”

Regards,
Uday Kilambi

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.