proper encoding for POSTing to Rest API
Aldevinas Katkus
2020-03-18
If I send a string like this "Some product name <>" via Rest API, then if I urlencode (in PHP) this string I get "Some%20product%20name%20%3C%3E" (or a bit different if I choose to encode as RFC1738) stored in the SERP, so it looks like the string is not decoded to normal text.
I have set header as 'Content-Type: application/x-www-form-urlencoded'
How to encode strings I send via rest api?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Bror-Erik Kotiranta
Heya, i dont think this is possible...
11:17 20 Oct 2026
Paul Timms
Hi Andis, if you go to Support &gt; FAQ, there&apos;s a section containing all of the known parameters. Paul...
15:06 11 Sep 2026