Delphi. For some reason NetHTTPClient behaves differently under Windows and MacOS?

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

A piece of code that sends the request and writes the JSON response in a variable:

The actual problem is that if compile the project under Windows, everything is entirely as it should.
If you compile under MacOS, then after sending the query comes back with a 404 error.
Has anyone encountered such a bug? How did you manage to overcome?
June 5th 19 at 21:24

Find more questions by tags APIDelphimacOS