XMLHttpRequest: Difference between revisions

Content deleted Content added
Line 87:
}</syntaxhighlight>
 
Aside from these general steps, XMLHttpRequest has many options to control how the request is sent and how the response is processed. Custom [[HTTP header fields|header fields]] can be added to the request to indicate how the server should fulfill it. The response can be automatically parsed from the [[JSON]] format into a readily usable JavaScript object, or processed gradually as it arrives rather than waiting for the entire text.
 
==See also==