Changes between Initial Version and Version 1 of Ticket #1437
- Timestamp:
- 11/01/11 18:51:36 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1437
- Property Owner set to dread
- Property Status changed from new to assigned
- Property Type changed from enhancement to defect
- Property Milestone changed from ckan-v1.6 to current-ckan-sprint-2011-11-07
-
Ticket #1437 – Description
initial v1 1 1 Action API needs JSONP support - be able to return responses encapsulated in a function of a supplied name. This is important for remote sites running javascript to interact with a CKAN site. 2 2 3 Specifying the callback parameter is the way we've achieved JSONP with the RESTful and Search APIs. It would likelike this:3 Specifying the callback parameter is the way we've achieved JSONP with the RESTful and Search APIs. It should work like this: 4 4 {{{ 5 5 curl http://test.ckan.net/api/action/package_show?callback=jsoncallback -d '{"id": "fd788e57-dce4-481c-832d-497235bf9f78"}' 6 6 }}} 7 7 8 Or maybe the callback should be specified in the payload in the context or data_dict? 8 9