Amazon API Gateway HTTP Proxy Integration Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 45: Line 45:


{proxy+} ANY Setup:
{proxy+} ANY Setup:
<font color=darkgray>


Integration type:  HTTP Proxy
Integration type:  HTTP Proxy
Line 53: Line 55:


Use Default Timeout.
Use Default Timeout.
</font>

Revision as of 22:20, 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.

{proxy+} ANY Setup:

Integration type: HTTP Proxy

Endpoint URL: http://themyscira.playground/{proxy}

Content Handling: Passthrough

Use Default Timeout.