In that Scenario JSON (Javascript Object Notaion is used)
I tried just the other day and found out it's a security violation to make AJAX calls outside the domain it resides on, so in all essence, you can't. I didn't try lowering the browser security settings because that would rule out most of your audience.