I have created a blob file in azure storage using Azure Logic App.
I add csv content and name the file data.csv or I add json content and name the file data.json and then I generated the SAS URI of the file.
If we paste the url in browser, the browser displays the content of the file instead of downloading it.
What steps will have to be taken so that the URL is generated such that the file can be downloaded instead of displaying content in browser. As the content of the file can be in 100s of MB.
In the Logic app, Create blob (V2) connector, when I specified Content-Type
as test/csv
, the generated SAS URI was a downloadable file.
But when I add a json content and set Content-Type
as application/json
, the generated SAS URI displays the json content in browser.
Why isn't the behavior same for all URL.