简体   繁体   中英

How to generate SAS Token and URL for Azure blob in postman?

I want to get SAS URL of a blob through rest api, so that i can use that url to open file in different system(Salesforce). Can someone help me to get the SAS URL of a blob through postman so that i can implement the same approach in Salesforce. Thanks!

To generate SAS Token and URL, need to use a few environment variables like account-name, account-key, container name, etc.

  • Then, execute the request and use the SAS Token QueryString in subsequent requests.
  • Before providing the environment variables, copy the azure storage SAS postman.js file to the pre-request script sandbox.
  • JSON Payload should be copied into the Postman body.
  • The parameters Authorization and Content-Type headers set.

Please refer this article for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM