instantreality 1.0

examples

XMLHttpRequest in JavaScript

January 7th, 2011

A small example that shows how you can use the XMLHttpRequest object in JavaScript to access data from Http based services. This example uses XMLHttpRequest to access our RSS feed and constructs some Anchor objects from the gained data. You find it in our SVN repository. You can use XMLHttpRequest to to access many kinds of services, including many web APIs, databases like apaches CouchDB or writing files to WebDAV. There is an Tutorial on XMLHttpRequest that shows basics like accessing a web server, but also covers more advanced tasks like working with CouchDB or WebDAV.

Leave a Reply