Mastering Ajax, Part 2: Make asynchronous requests with JavaScript
Javascript HTTP Requests
36
HTTP Requests in Javascript Stephanie Marx
-
Upload
stephanie-slattery -
Category
Technology
-
view
71 -
download
0
Transcript of Javascript HTTP Requests
Constructor initializes an XMLHttpRequest
We open the request...
send it...
...and get something back!
method of request URL Should we do this asynchronously?
true Notification of completed transaction is provided with event listeners
false send() method doesn’t return until the response is received