Pharaz Fadaei
Pharaz Fadaei

Reputation: 1827

Phonegap-Javascript sending cross-domain ajax request

I'm using PhoneGap and JavaScript to produce an iPhone app. Is it possible to send a cross-domain AJAX (POST) request and download the response as HTML? (ex.: sign into yahoo mail and fetch new mails)

Upvotes: 22

Views: 28696

Answers (1)

Chris Sobolewski
Chris Sobolewski

Reputation: 12935

Cordova/PhoneGap allow for whitelisting of domains. As long as the server you are requesting is in the whitelist.

Upvotes: 30

Related Questions