[ckan-dev] API requests using JSONP return no results

Allan Glen allan.glen at opencolorado.org
Thu Feb 14 17:24:32 UTC 2013


I am trying to make JSONP requests to the CKAN API (using a callback
parameter as described at
http://docs.ckan.org/en/latest/api.html#jsonp-support)..

When adding the callback parameter the response always comes back with no
results.

Here is an example without a callback that returns three results:
http://data.opencolorado.org/api/2/search/dataset?groups=denver&tags=recreation

Here is the same request with a callback that returns no results:
http://data.opencolorado.org/api/2/search/dataset?groups=denver&tags=recreation&callback=abcd

Thoughts?

Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130214/c58873ea/attachment.html>


More information about the ckan-dev mailing list