Hi,
I am successful in uploading an image to wiki page by running following curl command:
curl -v -S -u admin:admin -X POST -H "X-Atlassian-Token: no-check" -F "file=@myfile.txt" -F "comment=this is my file" "http://localhost:8080/confluence/rest/api/content/3604482/child/attachment"
But I am not able to insert and save the wiki page using curl or ruby Net:HTTP commands. Please help me in doing so.
Thanks,
Bala
Basically attachment need to be first uploaded and then it can be used on the page.
Maybe this could be helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.