Search code examples
azurepostmanazure-blob-storage

Updating azure append blob storage with Postman


Im trying to use postman to append azure blob storage but keep having issues with the Authorization Header and Date Header

I have taken the following steps:
Created an azure Container named : test
Created an appentType blob file in the above container named : testBlob.xlsx

I have created a Shared Access Token via:

Dashboard -> testAccountName/Containers -> test -> Shared Access Tokens :

enter image description here

Then I have used the Blob SAS Token in Postman as so:

enter image description here

I get the following 403 error:

enter image description here

What am I doing wrong here? Feel as though I'm missing something obvious but cant find any answers online and so I'm asking here.

Thank you in advance


Solution

  • SAS token should be a part of your request URL and not the authorization header because the authorization information is already included in the SAS token.

    So your request URL would be something like https://account.blob.core.windows.net/container/blob?comp=appendblock&<sas-token>.

    You also need not include any request headers when using SAS URL as the information is already included in the SAS URL.

    Please try with these changes.