proper encoding for POSTing to Rest API
Aldevinas Katkus
3-18-20
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
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025