2 short questions. I would appreciate an answer or a pointer to an answered question on SO (I searched before asking :)).
- I’d like to consume one of the TRYNT‘s web services that returns a JSON object (like this one for example). Am I right in deducing that if they don’t specify JSONP, there is no way I can consume those services from the client side, without a server-side proxy – due to cross-site scripting limitations?
- Ok, so I tried implementing a PHP proxy to consume the service and return the JSON to HTML, but found out my (free) web hosting service blocks the CURL libarary. Being a newbie PHP developer (ASP.Net is my usual expertise, but I decided it’s time to branch out 🙂 ) – what other options do I have to get the JSON results from PHP?
Any assistance is appreciated.
Try this:
Depends on your server configuration of course. Worth a shot!