title: How to upload images using postman to azure blob storage
body: <p>I have been trying to upload an image to my blob container folder using postman
  Here is the link <a href="https://stackoverflow.com/questions/38849384/authorization-of-azure-storage-service-rest-api">Authorization of Azure Storage service REST API</a> am using to generate signature and am attaching filename file field in the body while body.</p>
  <pre><code>var key = &quot;[Storage account key]&quot;;
  var strTime = (new Date()).toUTCString();
  var strToSign = 'PUT\n\nimage/jpeg; charset=UTF-8\n\nx-ms-date:' + strTime + '\nx-ms-meta-m1:v1\nx-ms-meta-m2:v2\n/colony7/folder-customer-profilepic/Home - explorar.jpg';
  var secret = CryptoJS.enc.Base64.parse(key);
  var hash = CryptoJS.HmacSHA256(strToSign, secret);
  var hashInBase64 = CryptoJS.enc.Base64.stringify(hash);
  var auth = &quot;SharedKey colony7:&quot;+hashInBase64; 
  </code></pre>
  <p>I have used these <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/put-block" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/storageservices/put-block</a> ,https://docs.microsoft.com/en-us/rest/api/storageservices/authentication-for-the-azure-storage-services
  references for above code.</p>
  <p>I have turned on cors also. Kindly share the solution as to how would i upload a jpg or png image to my blob using postman.</p>
  <p>Thanks in advance</p>