Ticket #357 (closed defect: fixed)
Fix API documentation, to correct misleading HTTP_AUTHORIZATION statement.
Reported by: | johnbywater | Owned by: | johnbywater |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description (last modified by johnbywater) (diff)
Sean Burlington wrote:
I recently came across a documentation issue
http://knowledgeforge.net/ckan/doc/ckan/api.html
The key should be passed in the API request header: Header Example value HTTP_AUTHORIZATION fde34a3c-b716-4c39-8dc4-881ba115c6d4
But the header name is actually just 'AUTHORIZATION'
For example to set it in PHP
curl_setopt($ch, CURLOPT_HTTPHEADER, array('AUTHORIZATION: xxxxx-xxxx-xxxx-xxxx-xxxxxxx'));
Change History
Note: See
TracTickets for help on using
tickets.