Ian Davis
Ian Davis

Reputation: 19413

cross-domain ajax - works for me

http://jsbin.com/eyikac/3/edit#javascript,html,live - this works for me. I thought I wasn't allowed to do cross-domain calls with ajax?

Question being this - what is the issue w/ cross-domain ajax calls, and, is there still an issue? So far I've been able to do this, and I'm confused. Thanks!

Upvotes: 2

Views: 639

Answers (2)

Esailija
Esailija

Reputation: 140210

This is working because the domain explicitly allows jsbin to make crossdomain requests:

Request URL:http://opensocial.flixster.com/igoogle/showtimes?date=20111027&postal=23226
Request Method:GET
Status Code:200 OK
    Response Headers
        Access-Control-Allow-Credentials:true
        Access-Control-Allow-Origin:http://jsbin.com

It is documented here https://developer.mozilla.org/En/HTTP_access_control

Upvotes: 2

Ergec
Ergec

Reputation: 11824

you can load remote page code put you can't post data and get response

Upvotes: 0

Related Questions