0

I want to retrieve some data from another server via ajax. I have searched through the net and been advised to use jsonp method. My question is if that other server does not returns data in json format rather than plainText then how can i catch that data, is there any way?

2
  • What is the data structure used by the server ? are you using a web-service ? can you show us what have you tried ? Commented Mar 2, 2013 at 11:07
  • server is just echoing a string and i am trying from my local server(wamp)... Commented Mar 2, 2013 at 11:16

1 Answer 1

1

If the server doesn't allow cross-origin resource sharing, and doesn't implement JSONP, you need to use a local proxy. Try the Simple PHP Proxy.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.