[ckan-dev] API requests using JSONP return no results
Toby Dacre
toby.okfn at gmail.com
Fri Feb 15 17:47:27 UTC 2013
On 15 February 2013 17:28, Adrià Mercader <adria.mercader at okfn.org> wrote:
> 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)
>
yeah looks like we should use _finish() not _finish_ok() and then we'd have
jsonp support for all actions I'm not sure how any get supported via
/api/3/action/.... at the moment
>
> 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
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130215/5326bab9/attachment-0001.html>
More information about the ckan-dev
mailing list