I have a Logic App that monitors a blob storage container for an XML to show up, then I do a "Get Blob Content using Path" to grab the XML content. I then use that content later in the flow to send in an HTTP request (to an Azure Function that then zips it up and returns the zip file as an output). When I run the flow, I see the output of the Get Blob Content as:
I then use that output in my HTTP POST action, and I now see the readable XML instead. I'm pretty sure its failing because of the content type being sent.
"$content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Document>\r\n\t<VENDINVOICEJOURNALHEADERENTITY JOURNALBATCHNUMBER=\"123456789\" DESCRIPTION=\"AP Invoice\"XXXXXXX",
I have tried changing the "$content-type" to application/xml, text/xml and nothing works. Funny thing though, I have this working with no issues in the Power Automate "FLOW" portal. The main difference is that the HTTP content I am sending in the body is an octet-stream! Is there an easy way to force that?