[ckan-dev] Sever error: An internal server error occurred

Kim Haklae haklaekim at gmail.com
Wed Oct 10 11:09:13 UTC 2012


Thanks your help. When I use curl in terminal, it works fine. But it does
not work in Java client.
I will check my code again :)

On Wed, Oct 10, 2012 at 7:13 PM, Sean Hammond <sean.hammond at okfn.org> wrote:

> > I used Model API for dataset register: curl
> > http://localhost/api/rest/dataset -d '{}' -H "Authorization: "
>
> Hey, I can't comment on your code below, but this curl command works for
> me to create a new dataset, when running CKAN locally with paster:
>
> curl http://127.0.0.1:5000/api/rest/package -d '{"name": "test"}' -H
> "Authorization: XXX"
>
> Tested with CKAN 2.0 alpha (current master branch) and with CKAN 1.7.1.
> Just replace XXX with the API key of your CKAN user.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>



-- 
Dr.Dr. Haklae Kim
Semantic Web and Open Data Hacker
http://thedatahub.kr
http://getthedata.kr
http://blogweb.co.kr
Tel: +82-(0)10-3201-0714
Who's Who in the World's 27th Edition - 2010
IBC 2000 Outstanding Scientists - 2010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121010/f3ebcd8a/attachment-0001.html>


More information about the ckan-dev mailing list