Re: proper encoding for POSTing to Rest API
Aldevinas Katkus
7-26-23
I figured out why this happened:
you must add charset=UTF-8 like this to fix characters and set argument separator to '&' for a workaround to work.

$headers[]='Content-type: application/x-www-form-urlencoded;charset=UTF-8';
$postfields=http_build_query($post,'','&',PHP_QUERY_RFC3986);//inserted via Rest API ąčęėį & ž яшерты

Problem solved (kind of a workaround).
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
Hi there, We have noticed that when we click the "Standard ERP by HansaWorld" logo on the bottom left hand side of the main navigation window that it takes us off to our default browser a...
11:37 14 Aug 2026
Reino Botha
Hi Kevin, All users require a mailbox, including Global Users. The mailbox is also required to enable access to the Personal Desktop, so it cannot be avoided even if the Email and Conference mod...
10:45 14 Aug 2026