Open hassanhashmy opened 3 years ago
Hello @hassanhashmy - I wouldn't say it's wrong but it's definitely a bit misleading at this point. When this example was created, REST API was the only type available and in the Framework the event for REST API is called http
. Later, when HTTP API was made available, a new event was introduced for that integration, called httpApi
. This example concerns http
event but I see how it might be confusing from REST/HTTP API distinction for API Gateway.
This link is creating wrong RESTfull api instead of simple HTTP https://github.com/serverless/examples/tree/master/aws-python-simple-http-endpoint