Tuesday 30 July 2024

Special character issue \u00a0 in SAP CPI

 URL Encode the query:

 

Data: "ADDRESS": "+GleuelerStr.70\u00a0Building5,floor2A,room015+Cologne\u00a0NorthRhine-Westphalia+50931",

 

This char "\u00a0" is causing the issue, so can't pull location info from GoogleAPI.

 

Google script line:

 

inputurl = URLEncoder.encode(inputurl, "UTF-8")

 

We can get the response.




No comments:

Post a Comment