Menu
Amazon API Gateway
Developer Guide

Use Postman to Call an API

Use the Postman app is a convenient tool to test an API in API Gateway.

  1. Launch Postman.

  2. 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.

  3. 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-api in Service Name.

  4. 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:{api_key} name/value pair here.

  5. Choose Send to submit the request and receive a response.

For an example of using Postman, see Call an API with Custom authorization.