Amazon API Gateway HTTP Proxy Integration Example: Difference between revisions
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
Endpoint Type: [[Amazon_API_Gateway_Concepts#Regional_API|Regional]]. | Endpoint Type: [[Amazon_API_Gateway_Concepts#Regional_API|Regional]]. | ||
Create API: the API, and its root resource will be created. | |||
==Create Resources== | ==Create Resources== |
Revision as of 01:22, 12 February 2019
Internal
Overview
Playground
Procedure
Create the API
API Gateway Console -> APIs -> Create API
Protocol
REST
Create new API
New API
Settings
API Name: themyscira
Description:
Endpoint Type: Regional.
Create API: the API, and its root resource will be created.
Create Resources
The root resource is created with the API. Additional resources can be created by going to API -> <API name> -> Resources -> "/" -> Actions -> Create Resource.
For the simplest possible proxy integration, the only resource created under root is a proxy resource, meaning that it forwards everything that comes to the integration endpoint.
Resource name: "proxy"
Resource Path: /{proxy+}
Enable API Gateway CORS.
{proxy+} ANY Setup:
Integration type: HTTP Proxy
Endpoint URL: http://themyscira.playground/{proxy}
Content Handling: Passthrough
Use Default Timeout.