We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I've tried many things after reading the documentation on how to set the content type, and nothing works.
// var options = { contentSettings: { contentType: 'image/png'}}; var options = { contentType: 'image/png'}; blobService.createBlockBlobFromLocalFile(blockBlobContainerName, blockBlobName, imageToUpload, options, function (error) { ...
Neither one of the options choices above will set the content type for the file. In this case it's just an image, either a .png or .jpg.
Please tell me how to get this to work.
I've tried many things after reading the documentation on how to set the content type, and nothing works.
Neither one of the options choices above will set the content type for the file. In this case it's just an image, either a .png or .jpg.
Please tell me how to get this to work.