Is it possible to send json data in body of GET method defined in API Gateway REST API ?
Is it possible to send json data in body of GET method defined in API Gateway REST API ? The REST API defined in APIGW will act as a pass through for an existing REST API. When tested the data passed in the body is not received by the underlying API. The customer is suggested to send data in query string but there are certain code changes in the underlying API which will take some time.
It depends on the integration. For instance, when using Lambda integration, the payload is sent to the backend. When using HTTP or VPC Link, the payload will be sent to the backend, only if you choose the integration method to be POST (maybe also PUT).
So, if you create a resource with a GET method and you configure it to integrate with an HTTP/VPC backend using a POST method, the payload will be sent to the backend.
Relevant questions
Wildcard for all controllers routes in REST API
asked 3 months agoIs it possible to send json data in body of GET method defined in API Gateway REST API ?
Accepted Answerasked 4 months agoComaptibility between REST and HTTP API
asked 2 months agopass headers from clients via method request to integration request with body intact for REST API in AWS API Gateway
Accepted Answerasked 4 months agoReturn a custom header from lambda authorizer in API-gateway (HTTP api)
asked a month agoAPI Gateway Response Models are Not Exported in Open API Documentation
asked 6 months agoIs it possible to call rest API from AWS glue job
asked 3 months agoDeploy Lambda Function and API Gateway REST
asked 5 months agoREST API sent to API Gateway, how to access POST body data (application/json type) from within lambda application?
Accepted Answerasked 2 years agois it possible to use JSON Numeric aggregation functions in API gateway map
asked a year ago