P
P
parusa-korabliki2018-05-17 12:06:31
Delphi
parusa-korabliki, 2018-05-17 12:06:31

Delphi. Why does NetHTTPClient behave differently under Windows and MacOS?

Good afternoon.
Playing with Api Remoline (popular crm).
There is a piece of code that sends a request to the Remonline server and receives a response (in this case) with information on the order (which 100% exists).
A piece of code that sends a request and writes the JSON response to a variable:

publicResponse:=http.Get('https://api.remonline.ru/order/token='+token+'&id_labels[]='+numb).ContentAsString();

Actually, the problem is that if you compile the project under Windows, then everything goes exactly as it should.
If you compile under MacOS, then after sending the request, you receive a response with a 404 error.
Has anyone encountered such a bug? How did you manage to overcome?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question