Physical File Transfer to Aure Blob Storage through Rest API

0
Hello All, I am uploading a file document (.xlsx, .xlx , .docx and .pdf) in Mendix and after upload I need to push the same uploaded file to Microsoft Azure Storage Explorer i.e. azure blob storage folder. I have Its API URL of PUT method using SAS token. How can I push the file using Rest Api since for export mapping since I don’t have any JASON structure provided?
asked
3 answers
0

Hi Mohammadsalauddin Desai,
Check this Link it might help you.

https://learn.microsoft.com/en-us/azure/media-services/previous/media-services-rest-upload-files

 

You can use export mapping to take the binary form the file document and pass it to the API. 

I myself haven’t Tried it , but i hope this helps you. 

 

Update:
This links has clearly explained using postman. You can the mendix  Rest activity and Pass the headers which are passed in Post man.
https://www.petecodes.co.uk/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman/

 

answered
0

Hi Dinesh Kumar

 

Thanks for sharing the details. With PostMan I can able to send the file and its getting stored in Azure.

 

The similar I need to do via Mendix.

Can you please help me on that.

 

Thanks

answered
0

Hi Dinesh Kumar

Thanks for your immediate response.

 

This link you already provided in the initial comments 

https://docs.mendix.com/howto/integration/consume-a-rest-service/ I tried out.

 

With that, I couldn’t able to achieve the blob upload.

 

Do you suggest any other module/action item for the azure blob upload?

 

Thanks

answered