Blog Pages

What Is XHR

## What is XHR XMLHttpRequest (XHR) is an API available in web browser scripting languages such as JavaScript. It is used to send HTTP or HTTPS requests directly to a web server and load the server response data directly back into the script.[1] Development versions of all major browsers support URI schemes beyond http: and https:, in particular, blob: URLs are supported.[2] The data might be received from the server as JSON,[3] XML,[4] HTML, or as plain text.[5] Data from the response can be used directly to alter the DOM of the currently active document in the browser window without loading a new web page document. The response data can also be evaluated by client-side scripting. For example, if it was formatted as JSON by the web server, it can easily be converted into a client-side data object for further use. *[Source: wikipedia.org/wiki/XMLHttpRequest](http://en.wikipedia.org/wiki/XMLHttpRequest)*

MarkDown Post Oct 04, 2024 at 2:46:am

This is the Dr. Cat.This is a blog post written in the Markdown language. Markdown is an easy to write and read shorthand version of HTML.
Read More…

© 2024 Das Blog