Skip to content

Instantly share code, notes, and snippets.

@streetsmartdev
Created August 27, 2017 06:19
Show Gist options
  • Save streetsmartdev/b5d10c1d4cbb5e0065e898cd358b2e57 to your computer and use it in GitHub Desktop.
Save streetsmartdev/b5d10c1d4cbb5e0065e898cd358b2e57 to your computer and use it in GitHub Desktop.
Chatbot-serverless - Setting up serverless.yml
functions:
fbverify:
handler: handler.fbVerify
events:
- http:
path: fbhook
method: GET
integration: lambda
fbmessages:
handler: handler.fbMessages
events:
- http:
path: fbhook
method: POST
integration: lambda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment