JSONP support!

9 views
Skip to first unread message

Greg Tracy

unread,
Apr 17, 2011, 11:42:17 PM4/17/11
to smsmyb...@googlegroups.com
All,

I just deployed server-side support for JSONP. So for anyone that was working in JavaScript, it's now possible to make native JavaScript calls to the API. You don't need to proxy through your servers anymore.

The only secret (if you aren't aware) is to add a callback parameter on the end of the URL. For example, a JSONP call to 'getarrivals' would like like the following...


(note the callback on the end)

I will post a JavaScript example to github in the next day or so.

Cheers.

Greg


Reply all
Reply to author
Forward
0 new messages