Here's a simple XmtlHttpRequest example, using javascript.