Ravi Sir's Cards › AWS
Quick HTTP API
This revision card explains Quick HTTP API. You have a Lambda and want a public URL in a minute. On the card, the building blocks include create-api --target makes route, integration and stage. The how-to section notes then add-permission for apigateway.amazonaws.com. An example on the card is verify: curl the execute-api URL.
Read card text
What this card says
Why do we need it?
You have a Lambda and want a public URL in a minute.
What is it?
create-api --target makes route, integration and stage.
--protocol-type HTTP
How to do it
Then add-permission for apigateway.amazonaws.com.
aws lambda add-permission
Example
Verify: curl the execute-api URL.
curl -s https://$API...