Amazon API Gateway HTTP Proxy Integration Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 36: Line 36:
The root resource is created with the API. Additional resources can be created by going to API -> <''API name''> -> Resources -> "/" -> Actions -> Create Resource:
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 [[Amazon_API_Gateway_Concepts#Proxy_Resource|proxy resource]]:
Configure as [[Amazon_API_Gateway_Concepts#Proxy_Resource|proxy resource]].
 
Resource name: "proxy"
 
Resource Path: /{proxy+}
 
Enable API Gateway [[Amazon_API_Gateway_Concepts#CORS|CORS]].

Revision as of 22:10, 8 February 2019

Internal

Overview

Playground

Amazon API Gateway - HTTP Proxy Integration Example

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.