I always referred to the body property in the XMLHTTPRequest response, because it is always a good, useful parsed js object. But this time, the body is null, and the answer sits there in a string in .text, and I would like to know why this could be, and the tradeoffs of using one over the other in the interactions between the server and the client.
source share