AJAX polling request
Usually, a web browser sends requests and immediately receives responses. Every new portion of data requested from the server starts to reload a whole web page. Asynchronous JavaScript and XML (AJAX) is a technology that allows the client-side JavaScript code to request data from a server without the need to reload the current page in the web browser. An important advantage of using AJAX compared to traditional flow of web pages is its ability to bring usability and behavior of desktop applications into a web application. HttpRequest is a client-side XHR request to get data from a URL, formally known as XMLHttpRequest, and has an important role in the AJAX web development technique.
Note
All the requests created within HttpRequest ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access