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

Adrià Mercader adria.mercader at okfn.org
Fri Feb 15 17:28:13 UTC 2013


On 15 February 2013 10:13, Sean Hammond <sean.hammond at okfn.org> wrote:
>
> The Action API's package_search action doesn't seem to support jsonp:
>
> http://demo.ckan.org/api/3/action/package_search?q=spending&callback=abcd
>
> That may be another bug. @ckan-devs, what do you think? Should
> package_search support jsonp like other actions do?
I would say yes, I can't see why some actions should support it ans
others no (should be easy to wrap all output from the action api in
the jsonp parameter)

Adrià



> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list