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