1 Answer
- Newest
- Most votes
- Most comments
0
I had a similar problem, you may need to set BinaryMediaTypes If you are using SAM, add the following settings to your template file :
Globals:
Api:
BinaryMediaTypes:
- image/png
- image/jpg
- image/jpeg
``
Or try adding the same in API Gateway > Settings > Binary Media Types
answered 2 years ago
Relevant content
- Accepted Answerasked 9 months ago
- asked 6 months ago
- Accepted Answerasked 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
hi thanks for your answer. I have set it already and i can see data coming in, problem is i don't know what format is data coming as, therefore cannot parse it properly