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
Thank you for your reply, I send a json string and the same one is OK with the HttpClient and Put option.
So, i have a way, but i would prefere to use the SendPostRequest fonction...