Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

any public api which I can test jsonp ajax call?

Besides Twitter, I am wondering anyone knows any public web API whcih I can try ajax call with jsonp protocol?

like image 987
Adam Lee Avatar asked Dec 27 '22 19:12

Adam Lee


1 Answers

jsfiddle provides an echo facility which is quite useful: http://doc.jsfiddle.net/use/echo.html

JSONP URL: http://jsfiddle.net/echo/jsonp/

Data has to be provided via GET. jsFiddle will respond all data given in request. It uses URL with host and protocol as it’s loaded from different domain. callback and delay will not be returned.

callback name of the jsonp function delay optional, it’s a time in seconds after which data should be returned

like image 87
Radu Avatar answered Dec 29 '22 08:12

Radu