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
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.