Amazon API Gateway Lambda Integration Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:
=Test=
=Test=


   curl https://ws3039fvrl.execute-api.us-west-2.amazonaws.com/test/Vancover?name=red
   curl https://ws3039fvrl.execute-api.us-west-2.amazonaws.com/test/Vancover?name=red

Revision as of 00:33, 8 March 2019

External

Internal

Procedure

New API

New Resource -> select proxy.

Name proxy

/{proxy+} ANY setup

Integration type: Lambda Function Proxy

Lambda Region: us-west-2

Lambda Function: playground-example

Test

 curl https://ws3039fvrl.execute-api.us-west-2.amazonaws.com/test/Vancover?name=red