CloudFront rejects a get request with body.
As noted in the RFC, this behavior might be different based on the implementations. With this reason, although RFC does not prohibit to use GET request with body, generally it is not encouraged to use it.
Thanks for your answer @jwaataws, and I just have some doubts. I was researching that there are several types of API Gateway: Edge Optimized, Regional API Gateways and Private API Gateways. the regional API Gateway does not come with an implementation of cloudfront, so my questions are:
what would happen if I use regional API gateway without cloudfront?
would that allow me to make get Request with body?
or is it possible to have API Gateway without cloudfront configured and in that way allow get requests with body?
Edited by: egzx73 on May 7, 2019 1:27 PM
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 19 days ago
- EXPERTpublished 3 months ago