Kyle Hotchkiss
Kyle Hotchkiss

Reputation: 11112

How to play with the CloudApp API in CURL?

I am trying to play with the CloudApp API with CURL and it keeps giving me the redirect message, and I don't think I'm initializing it right. The docs are at http://support.getcloudapp.com/faqs/developers/api and my request currently looks like:

curl -G --digest -u [email protected]:[censored] -H "Content-Type: application/json" http://my.cl.ly/items/new

Any ideas?

Upvotes: 0

Views: 378

Answers (1)

Wade
Wade

Reputation: 26

You may also need to include -H "Accept: application/json"

Upvotes: 1

Related Questions