Answer the question
In order to leave comments, you need to log in
Curl under Windows cuts response and inserts characters?
I 'm testing the API, I need to send a POST request, and
I use curl, php5.6, windows 7
to get a response, as a result, the response comes with truncated json and additional characters before and after json
At the same time, under linux everything is fine, I tried versions php5.4, 5.5, it did not help
PS: with a different json response, different artifacts are generated, and trimming by length is also not stable, it cuts everything, even short lines, even long ones
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question