Hi
I found a lot of inputs how I can update attachments using REST API. I was able to install curl on a Windows server and find out the page id and attachment id. Now I'm struggling with the syntax to add the path to the "local file".
a) How can I add a local path in the Curl command?
b) Is it possible to use a UNC path to the file?
My commands look like this.
curl -D- -u user:password -H "X-Atlassian-Token: nocheck" -F "file=@//C:/_scripts/Shopfloor-Cockpit.pdf"
-F "comment=Automatischer Upload durch Schnittstelle" http://testserver/rest/api/content/21987440/child/attachment/44499166/data