Download File from Azure Blob using REST API

0
I want to download files from Azure Blob Container using SAS Token. When I tried using both utility from the Marketplace I am getting exception. When using REST API call, I am getting below exception. If I use the same RESP API URL in browser with SAS Token, files are getting downloaded   com.mendix.webui.WebUIException: Exception while executing runtime operation    at com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$1(RuntimeOperationAction.scala:60) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service    at MyFirstModule.Download_File (CallRest : 'Call REST (GET)') Advanced stacktrace:    at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:79) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: java.net.UnknownHostException: No such host is known (abc.blob.core.windows.net)    at com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17)
asked
1 answers
1

Hi,

Does your location start with https?

My REST call to Azure is based on this location:

'https://'+@AzureBlobAPI.AZR_AccountName+'.blob.core.windows.net/'+@AzureBlobAPI.AZR_ContainerName+ '/'

answered