[ckan-dev] Posting to API problem

Joss Winn jwinn at lincoln.ac.uk
Tue May 21 10:22:03 UTC 2013


Hello,

I'm playing with the CKAN API and trying to post an update to a dataset
resource, but I'm getting the status message 'not found'. Here's the
syntax of my command:

curl https://example.com/api/rest/dataset/sdsdf-sdfsdf-sdfsdf-sdfsdf -d
'{"name":"test", "title":"blah"}' -H 'Authorization:
dfghjkfghjklfghjkfghjdfgh'

It's a 1.7.2 install and the resource is protected, hence the API key.

Thanks for any advice you can give me.

Joss






More information about the ckan-dev mailing list