Skip to content

HTTP Query Method

0

Hi, I don't see the new HTTP Query Method in Api Gateway. Is there any new about it?

2 Answers
5
Accepted Answer

If you are referring to the newly standardized HTTP QUERY method (RFC 10008), it is currently not natively supported as a standalone option in Amazon API Gateway.

Because the RFC was finalized, API Gateway still limits explicit method definitions to the traditional set (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) and the ANY catch-all.

While you might consider using the ANY method as a workaround to route the request to your backend, be cautious: AWS edge services (API Gateway, CloudFront, AWS WAF) often enforce strict HTTP protocol validations. Using a newly defined method might lead to stripped request bodies, caching issues, or immediate 403 / 405 errors if the underlying infrastructure doesn't explicitly recognize it yet.

For the time being, using POST for complex search queries that require a request body remains the most robust and fully supported approach on AWS. If you'd like to see native support added, the most effective route is to open a technical support case in your AWS Console and ask the support team to add your voice to the internal feature request for API Gateway.

You can verify the currently supported methods in the official documentation here:

Reference: Set up API Gateway methods -> https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html

EXPERT

answered 24 days ago

EXPERT

reviewed 24 days ago

0

Based on the available information about API Gateway, there isn't a specific "HTTP Query Method" as a distinct feature. However, API Gateway does support standard HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) for method requests, as well as a special ANY method that can represent any HTTP method supplied at runtime.

When setting up method requests in API Gateway, you can configure query string parameters as part of the method request parameters. These query string parameters allow clients to provide input data or execution context necessary to complete the method request. Query string parameters must be declared in the method setup to make them available for the client to use.

If you're looking for a specific new feature or capability related to querying in API Gateway that isn't covered here, I'd recommend checking the AWS What's New page or the API Gateway documentation for the latest feature announcements and updates.
Sources
Set up a method request in API Gateway - Amazon API Gateway

answered 24 days ago

EXPERT

reviewed 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.