I am trying to post to a web service but I am getting an error from the server.
We have narrowed the problem to the data not being UTF-8 (if we post it using Postman it goes through)
The Post function generated by esegece
var
oRequest: TsgcOpenAPIRequest;
begin
oRequest := TsgcOpenAPIRequest.Create;
Try
oRequest.Method := oapiHttpPOST;
oRequest.Endpoint := '/payVehicleDebt';
oRequest.Security := oapiSecurityBasic;
oRequest.Body := aBody;
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »