3 ms·
The post is handled in the watchdog function which is embedded into each function. https://github.com/alexellis/faas/blob/master/watchdog/main.go https://github
by alexellisuk 10y ago
The post is handled in the watchdog function which is embedded into each function. https://github.com/alexellis/faas/blob/master/watchdog/main.go https://github.com/alexellis/faas/blob/master/watchdog/main....
All sample functions are using a POST - within your function you receive that value through STDIN and output response via STDOUT.
Example Alexa Skill:
https://github.com/alexellis/faas/blob/master/sample-functions/ChangeColorIntent/handler.js https://github.com/alexellis/faas/blob/master/sample-functio...
Markdown example:
https://github.com/alexellis/faas/tree/master/sample-functions/MarkdownRender https://github.com/alexellis/faas/tree/master/sample-functio...