It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Upload file by curl on cofluence server

Hi,

I try to use the same procedure but I don't see the file on the page...

This is my code

 

curl -D- \
-u user:password \
-X PUT \
-H "X-Atlassian-Token: nocheck" \
-F "file=@esempio.txt" \
-F "minorEdit=true" \
-F "comment=Example attachment comment" \
http://confluence.website.it:8190/rest/api/content/12255634/child/attachment

 

and this is the reply

 

HTTP/1.1 405 

X-ASEN: SEN-13959260

Set-Cookie: JSESSIONID=25A9555B1E5E3BCA2B1D5790CD75DFA0; Path=/; HttpOnly

X-Seraph-LoginReason: OK

X-AUSERNAME: Tommaso

Allow: HEAD,POST,GET,OPTIONS

X-Content-Type-Options: nosniff

Content-Length: 0

Date: Thu, 12 Dec 2019 16:06:07 GMT

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you