Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events