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)

Answers


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


Need Your Help

Using pointers to remove item from singly-linked list

c pointers linked-list

In a recent Slashdot Interview Linus Torvalds gave an example of how some people use pointers in a way that indicates they don't really understand how to use them correctly.

How to set and reference a variable in a Jenkinsfile

jenkins groovy jenkins-plugins jenkins-pipeline multibranch-pipeline

I have a declarative pipeline script for my multibranch project in which I would like to read a text file and store the result as a string variable to be accessed by a later step in the pipeline. U...