The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

crucible file upload using curl

dhandu
March 19, 2012

Hi, I am trying to upload the file from command line using curl, its says <error><code>NotPermitted</code><message>You do not have permission to Edit Review Details the review

curl -F "file=@test.txt" http://localhost:8060/crucible/rest-service/reviews-v1/CLI-36/addFile

Any suggestions pls.

Thanks

Dandu

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
dhandu
March 20, 2012

Finally I can able to upload the file fromcommand line to crucible using this command.

curl -u test:test -F @1.cgi">file=@1.cgi http://localhost:8060/crucible/rest-service/reviews-v1/CLI-40/addFile -v

TAGS
AUG Leaders

Atlassian Community Events