내용으로 건너뛰기

HTTP Query Method

0

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

2개 답변
5
수락된 답변

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

전문가

답변함 2달 전

전문가

검토됨 2달 전

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

답변함 2달 전

전문가

검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.