on 2018 Sep 03 2:15 PM
To perform REST calls on the AWS S3 bucket using Postman, I am using below code.
GET /hcp-c73e4669-XXXX-4dd8-XXXX-b1X&X&X&XX&4 HTTP/1.1
Content-Type: application/json
Host: s3-eu-central-1.amazonaws.com
X-Amz-Content-Sha256: e3b0cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb855
X-Amz-Date: 20180829T060328Z
Authorization: AWS4-HMAC-SHA256 Credential=AKIAXXXXXXXXXXA/20180829/eu-central-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=7bax7x7x7x7x7x7x7x7x77xda6
Cache-Control: no-cache
Postman-Token: 013b24bd-faf0-54ae-706e-a66a56dc2bd4
It works with
I want it to work with(Expected):
I am interested in Content-type : Binary/octet-stream for multipart image upload.
We want to use such request as: https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html
Thanks in advance,
Mateen
Hi Mishra,
The software components you are using are not SAP's (expect maybe the underlying system that is behind AWS S3 Bucket.
However, I've googled the error and it looks as though this is a postman related issue. Have you tried to reproduce the request with a 'curl' - such as the ones mentioned in the link provided? Maybe updating the postman application could solve it.
Maybe try to consume this API Gateway with another client application just for sanity checks.
Best regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.