Kapetis / otterapi

Automatically exported from code.google.com/p/otterapi
0 stars 0 forks source link

Any chance of a JSONP API? #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just a feature request, that I can include &callback=my_callback to wrap the 
data so it's JSONP and 
usable from client side requests:

my_callback(topsy_data)

I can see a number of apps I'd like to pull together that could use this.

Cheers,

Remy.

Original issue reported on code.google.com by remysh...@gmail.com on 2 Mar 2010 at 5:26

GoogleCodeExporter commented 8 years ago
You can use a callback query parameter if your api request has a ".js" 
extension. I've updated the docs to mention 
JSONP. 

http://code.google.com/p/otterapi/wiki/ResponseFormats#Javascript_(JSONP)

Cheers,
Larry @ Topsy

Original comment by larry%to...@gtempaccount.com on 23 Mar 2010 at 12:49