I am facing some issues While using cdn to upload some content to my S3 bucket.
- Using POST method to upload content not working
- While PUT and GET is Working for the same bucket policy
S3 bucket region used is us-east-1
Followed aws doc but not got solution.
demo cloudfront url
https://dqjesdd0w1dnq.cloudfront.net
and trying to post method to upload file using aws auth in postman and adding file to upload.
Documentation urls
Error
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>InvalidArgument</Code>
<Message>x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD, STREAMING-AWS4-ECDSA-P256-SHA256-PAYLOAD or a valid sha256 value.</Message>
<ArgumentName>x-amz-content-sha256</ArgumentName>
<ArgumentValue>null</ArgumentValue>
<RequestId>1CHMT0X9A80DDJ1D</RequestId>
<HostId>r0xIE3tcRGPjrdmKMXvqJHPKtFPOxQ8UWpYA5OxYva+BkgZEH+m/YfsRshls+u/X4xB1ugIxZU4=</HostId>
Any Help will be appreciated