Posting Images in the body of Confluence page

Rajpv May 18, 2022

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 png 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 body of the confluence page???

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events