Yoctol / bottender

⚡️ A framework for building conversational user interfaces.
https://bottender.js.org
MIT License
4.22k stars 335 forks source link

[AWS Lambda] What is the purpose of the proxy+ endpoint? #875

Open bd100b opened 3 years ago

bd100b commented 3 years ago

https://github.com/Yoctol/bottender/tree/master/examples/with-aws-lambda Hi! Could somebody explain to me the purpose of the proxy+ endpoint?

There are two endpoints: ANY - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/ ANY - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/{proxy+}

michaelwills commented 3 years ago

@bd100b take a look at https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html

tl;dr it serves as a catch all at that end point.