Use Postman to Test an API
Use the Postman Chrome extension is a convenient tool to test an API in API Gateway.
Enter the endpoint URL of a request in the address bar and choose the appropriate HTTP method from the drop-down list to the left of the address bar.
If required, choose the Authorization tab. Choose AWS Signature for the authorization Type. Enter your AWS IAM user's access key ID in the AccessKey input field. Enter your IAM user secret key in SecretKey. Specify an appropriate AWS region that matches the region specified in the invocation URL. Enter
execute-apiin Service Name.
Choose the Headers tab. Optionally, delete any existing headers. This can clear any stale settings that may cause errors. Add any required custom headers. For example, if API keys are enabled, you can set the
x-api-key:name/value pair here.
- Choose Send to submit the request and receive a response.
For an example of using Postman, see Call an API with Custom authorization.