Hello everybody,
I am struggling to upload images using the REST API v1 with the POST Create Attachment method.
We are using Azure Logic Apps to send an image as a form-data object. The upload works, and we receive a status code 200, with "mediaType": "image/jpeg" confirmed.
In Microsoft Logic Apps they send the posts in this format:
The $content object is using base64toBinary function to convert the image.
When I perform a GET Attachment request with the REST API v2, I get the response:
However, no image is displayed when I open the attachment in Confluence Cloud.
I also tried uploading the image via Postman as a form-data object. This image is displayed correctly.
Any idea whats wrong, or what I should try?
Thank you