Tool is Delphi XE 10.3,
In Windows 8 or Windows10 run perfect, but run in Windows 7 , it got error message like title
" REST request failed: Error sending data: (12152) The server returned an invalid or unrecognized response" .
Somebody can help me?
procedure TForm1.MCloud_Prepare_RequestR();
var
__securityAppName : String;
__searchSymbol : String;
__globalID : String;
begin
RESTRequest.Method := TRESTRequestMethod.rmPOST;
RESTClient.Accept:='multipart/form-data';
RESTClient.BaseURL := CURL+':Port#/v1/auth/token';
RESTClient.ProxyPort:=9999;
RESTClient.ProxyServer:=CURL;
RESTClient.ProxyUsername:='CloudTest';
RESTRequest.AcceptEncoding:='UTF8';
RESTRequest.AddParameter('id','12345',TRESTRequestParameterKind.pkREQUESTBODY);
RESTRequest.AddParameter('client_id',CCLIENT_ID,TRESTRequestParameterKind.pkREQUESTBODY);
RESTRequest.AddParameter('secret',CSECRET,TRESTRequestParameterKind.pkREQUESTBODY);
RESTRequest.Execute;
end;