Skip to main content
The 2024 Developer Survey results are live! See the results
69

Create file on Azure file storage using postman

Created
Active
Last edited
Viewed 197 times
1 min read
Part of Microsoft Azure Collective
-4

Create a file in Azure FileShare using postman.

Pre-Requisite

  • Azure Storage account with a file share
  • Role assignment Storage File Data Privileged Contributor scoped to file share.

Get required access token.

  • az login
    
  • az account get-access-token --resource https://storage.azure.com
    

Run following postman collection.

  • Copy the access token from above step and update the value of secret "token" in environment "fileRest".

  • Update the value of accountName, shareName, fileNameWithExt

    Run In Postman

Reference link:

1