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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.