开发者

JSON-P and a GET resource?

If a website operating on a domain other than my own supports get requests, like:

http://api.someothersite.com/v1/farms

There's no way for me to access it using JSON-P right, they would have to have support for it as a query parameter? Something like:

http://api.someothersite.com/v1/farms?callback=fantastic

I mean, there's no way for me to use it开发者_Python百科 without them explicitly supporting it, right?

Thanks


Correct. For JSONP to work, the server must choose to process and echo a callback parameter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜