Answer the question
In order to leave comments, you need to log in
Why can the responseText property be empty on an XMLHttpRequest request?
I make a POST request using XMLHttpRequest and get regular JSON in response from the server.
However, I see the received JSON in the console, but I do NOT see it inside the object!
How is that even possible? some kind of mystic
Answer the question
In order to leave comments, you need to log in
Problem solved. It turned out that if you look specifically at the property itself, and not the entire object, then the server response is perfectly displayed. Thank you all for your attention)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question