Hello
With PB 2019 and a RestClient object, I use the SendPostRequest function with -15 return (Unsupported character set).
No problem wtih the SendGetRequest function witch use the same token acces.
I had follow the PB example :
RestClient_Yvidya.SetRequestHeaders("Content-Type:application/json;charset=UTF-8~r~nAccept-Encoding:gzip")
Retour = RestClient_Yvidya.SendPostRequest(url_deb + url_api, param, Reponse_Yvidya)
Where param is a tested Json string.
Is somebody has a idea ?
Olivier
thanks for the advice, I had try it before without succes.
PB help say that UTF8 is the default encoding and httpclient with UTF8 encoding for the blob is OK.
The PUT with HTTPclient is Ok, so it's a way for me, but is somebody use the SendPostRequest with success ?