XmlHttpRequest

Demo

This page demonstrates how to use the XmlHttpRequest (XHR) object to submit an HTTP GET request for external web content.

Note: Most browsers do not support cross-domain requests, meaning XHR can only request resources from the same domain.

GET

Embedded resource (data.html)
Embedded resource (data.xml)
http://www.blackberry.com

POST

Embedded resource (data.html)
Embedded resource (data.xml)
http://www.blackberry.com
http://hurricane.isv.testnet/test/astanley/headers.jsp