Install serverless
(and its alias sls
)
npm i -g serverless
To deploy:
sls deploy
https://l3mukrh389.execute-api.us-east-1.amazonaws.com/dev/2
If you paste this link in Slack, it will recognize the user agent and return open graph annotation
If you paste this link in a normal browser, it will return a Hello world sentence