hi have mvc application in want url of uploaded image in amazon s3 after getting url not able open in browser code url is
var expiryurlrequest = new getpresignedurlrequest(); expiryurlrequest.bucketname = bucket_name; expiryurlrequest.key = "uploads/participantid_" + v1+ "/taskid_" + v2 + "/" + 0 + ".mp4"; expiryurlrequest.contenttype = "video/mp4"; expiryurlrequest.expires = datetime.now.addyears(10); string url = client.getpresignedurl(expiryurlrequest);
i url after pestling browser show signature not match.
after generating presigned url , binding html. signature hex value changing asci symbols.
make sure create signature presigned url without hex value
Comments
Post a Comment