I have been reading many posts to find the right way to get the confluence page content with images using the REST API.
Either the accepted solution is not working or the post didn't come to a conclusion?
Can someone please give me the correct solution?
Some of the URLs that I referred to.
ATLASSIAN Team - Need your support to help me how to publish the image as a body in the confluence page.
Please note with the below curl cmd - i could successfully attach the png file but my requirement is to have a snapshot of the pnf file in the confluence page.
curl -v -S -u username:password -X POST -H "X-Atlassian-Token: no-check" -F "file=@C:\Users\test\image\scb.png" -F "comment=this is my file" "https://confluence.XXXXXX.com/rest/api/content/2377271484/child/attachment"
Could you please share the curl command for posting the snapshot of png file in the confluence page???
Hi @Pramodh M ,
Thanks for your reply. I tried that too. when I use the '
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can only get the link for the attachment present on the page.
You need some sort of application to render the image!!
All the links you are referring are explaining the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.