Reputation: 111
Having sasquerystring and image url from backend how can a image upload be done from REST console
Upvotes: 0
Views: 1717
Reputation: 136379
Using just a Shared Access Signature
on the target container/blob (where you want the image to be copied), as of today it is not possible to copy an image by using image URL.
What you have to do is create an authorization signature (following the procedure listed here
) and then use Copy Blob
REST API functionality. Once you properly create authorization header, then you will be able to copy the image using a URL provided the image URL is publicly accessible.
Other alternative would be to download the image from that URL on your local computer and then you will be able to upload the image to blob container using Put Blob
REST API using POSTMAN.
Upvotes: 2