Amazon API Gateway HTTP Proxy Integration Example: Difference between revisions
Jump to navigation
Jump to search
Line 43: | Line 43: | ||
Enable API Gateway [[Amazon_API_Gateway_Concepts#CORS|CORS]]. | Enable API Gateway [[Amazon_API_Gateway_Concepts#CORS|CORS]]. | ||
{proxy+} ANY Setup: | |||
Integration type: HTTP Proxy | |||
Endpoint URL: http://themyscira.playground/{proxy} | |||
Content Handling: Passthrough | |||
Use Default Timeout. |
Revision as of 22:20, 8 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 Resources
The root resource is created with the API. Additional resources can be created by going to API -> <API name> -> Resources -> "/" -> Actions -> Create Resource:
Configure as proxy resource.
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.