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
CDK - How to remove API gateway methods with deploy stacks ?asked 2 months ago
Internal Server Error/502 Bad Gateway testing a Lambda Function via the Function URLasked 3 months ago
Api Gateway with AWS_IAM authorizer | 403 Forbiddenasked 10 months ago
Unable to map AWS AppSync Custom Error from API Gatewayasked 6 months ago
pass headers from clients via method request to integration request with body intact for REST API in AWS API GatewayAccepted Answerasked 7 months ago
request from static webside on s3 to API Gateway to Lambda, blocked by CORS, tried everythingAccepted Answerasked 2 months ago
Is it possible to send json data in body of GET method defined in API Gateway REST API ?Accepted Answerasked 7 months ago
AWS SAM: The REST API doesn't contain any methodsasked 4 years ago
How to include context variables in AWS API-EventBridge Integration Detail bodyasked 8 months ago
Are get request with body allowed in AWS? 403 errorasked 3 years ago