ckanapi icon indicating copy to clipboard operation
ckanapi copied to clipboard

Make API key header configurable

Open jbiggsets opened this issue 1 year ago • 0 comments

Setting the API key header name to X-CKAN-API-Key seems problematic. For example, the data.gov API uses the x-api-key as the HTTP header name.

This PR allows users to pass a dictionary instead of just an API key, specifying both the API key and the header name.

jbiggsets avatar May 28 '24 14:05 jbiggsets