Answer the question
In order to leave comments, you need to log in
Why breaks JSON response less than 10 lines?
Everything is fine with the encoding, the JSON response breaks less than 10 lines, more than 10 lines comes out fine.
api.rozavetrov.kz/GetCitiesFrom - This one breaks down, not all of it comes out, krakozyabry comes out (I can't see them in the links here) at the beginning and at the end.
api.rozavetrov.kz/GetCountries - This one is fine.
I output values from the base, echo to the output, more than 10 lines the output is normal.
Both are the same.
Please help me find the problem, I have already broken my whole brain, I don’t see it.
Answer the question
In order to leave comments, you need to log in
on the first link you give data with a header
but the data itself is not compressed
is it via jsond_encode($arr, true)? or jsond_encode($arr). It's just that without the true parameter, the clothes sometimes break.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question