N
N
Nadim Zakirov2020-05-03 17:57:27
JavaScript
Nadim Zakirov, 2020-05-03 17:57:27

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

5eaedb97c8870592410780.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2020-05-03
@zkrvndm

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)
5eaef5f48f319959588371.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question