Hello, I am trying to do something similar compared to the link below. https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html
I have uploaded the Image via the post call.
I have retrieved the page info as it exists and appropriately automated the update of version number and inclusion of the reference to the image.
When I try to update the content of the page via the Put call I get a 415 error. I am confused as to what this endpoint expects as far as receiving this content. I have tried multiple things without luck.
Community moderators have prevented the ability to post new answers.
415 is an Unsupported Media Type.
If you can include your code here, we may be able to troubleshoot with you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.