How to upload image in confluence. i am struck with curl and python script using post but i am getting 405 error. i dont know where i did mistake. content-type i gave 'image/jpeg' but i am getting error.
Happy to help.
From my understanding, you are trying to attach an image to a Confluence page, but you want to do this using only scripting. Is that correct?
Have a look at the Confluence REST-API documentation for more details on this. The Cloud version is shared below but let me know if you have any trouble with this on the Server version.
In addition, there are a few threads on this:
If you continue to have any issues, please show us an example of what you're doing so far, as well as your Confluence version, and we can help you.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event