Uploading large file(2GB) in Post call through multipart/form-data and uploading to blob storage through APIM
<policies> <inbound> <base /> <!– Step 1: Set backend service to Azure Blob Storage –> <set-backend-service base-url=”@{ return “https://{{storage account}}.blob.core.windows.net/” ;}” /> <rewrite-uri template=”@{ return context.Request.Url.Query.GetValueOrDefault(“blobContainer”, “test”) + “/” + context.Request.Url.Query.GetValueOrDefault(“fileNameWithExtension”, “test.mp4″);}” /> <set-method>PUT</set-method> <set-header name=”Host” exists-action=”override”> <value>sacuksnprdiidlrawast6001.blob.core.windows.net</value> </set-header> <set-header name=”X-Ms-Blob-Type” exists-action=”override”> <value>BlockBlob</value> </set-header> <set-header name=”X-Ms-Version” exists-action=”override”> <value>2019-12-12</value> </set-header> <set-header name=”Accept” exists-action=”override”> <value>application/json</value> </set-header> <authentication-managed-identity […]