Unanswered: How can I get back raw JSON from external server
Unanswered: How can I get back raw JSON from external server
Because it is an external server I think that the only option I have is to use Ext.util.JSONP.request but the site that I am using doesn't seem to support a callback mechanism and just returns a pure JSON which then bombs out because it isn't wrapped.
Is there any other way around this?
It is so annoying that the call is successful and I can see the data coming back but it bombs out with an 'Unexpected token :' because it wants it wrapped.