Hi
Let me jump in :).
This curl works:
curl -k -u somelogin:somepasswd -d "{ \"key\": \"somekey\", \"name\": \"someproj\", \"description\": \"somedesc\" }" -H "Content-Type: application/json" https://bitbucket.whatever.com/rest/api/1.0/projects/
This doesn't
curl -k -H "Authorization: Bearer somestrangestringhere" -d "{ \"key\": \"somekey\", \"name\": \"someproj\", \"description\": \"somedesc\" }" -H "Content-Type: application/json" https://bitbucket.whatever.com/rest/api/1.0/projects/
Second one will always end with permission error. Even though I'm using a token with admin permission created on admin account. Why?
Regards
Marek
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.