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-13959260Set-Cookie: JSESSIONID=25A9555B1E5E3BCA2B1D5790CD75DFA0; Path=/; HttpOnlyX-Seraph-LoginReason: OKX-AUSERNAME: TommasoAllow: HEAD,POST,GET,OPTIONSX-Content-Type-Options: nosniffContent-Length: 0Date: Thu, 12 Dec 2019 16:06:07 GMT
It looks like you're new here. Sign in or register to get started.