XHR

XHR API.

Used to send HTTP requests to a web server and retrieve any type of data directly back into the script.

Two implementations are available XHR2 and XHR. We recommend to use XHR2 as it is a newer implementation, faster, and supports additional HTTP methods.

Method summary

XHR has the following method:

Method

Description

send(method, url, options)

Makes synchronous HTTP requests.