Is there any way to do a cross site AJAX request without requiring JSONP?
In my situation, I need to pull data from a third-party resource, however it is not formatted as JSON (is XML)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need some proxy server side script. You make the request to your local server, which in turn will fetch it from a remote location.
The best explanation and the solutions can be found here:
http://developer.yahoo.com/javascript/howto-proxy.html
Here’s a php example from Yahoo:
http://developer.yahoo.com/javascript/samples/proxy/php_proxy_simple.txt