Amazon_ApiGateway_3
Before you send the API request to your server to be process. It is recommended to validate the inputs to avoid several types of attacks.API Gateway can perform the basic validation. This enables you, the API developer, to focus on app-specific deep validation in the backend.
For the basic validation, API Gateway verifies either or both of the following conditions:
Request body validation and request body passthrough are two separate issues.
The API Gateway console lets you set up the basic request validation on a method using one of the three validators:
When you choose one of the above validators to enable it on an API method, the API Gateway console adds the validator to the API’s RequestValidators map if the validator has not already been added to the validators map of the API.
Validate body
, Validate query string parameters and headers
, or Validate body, query string parameters, and headers
 from the Request Validator drop-down list. Then choose the check mark icon to save your choice.FOR :
see reference.
References :
Enable request validation in API Gateway – Amazon API Gateway
Want to Know More?
Learn how our partners are managing their cloud security and compliance with Cloudlytics.
I hereby accept the GDPR and Privacy Policy, by subscribing to the newsletters.