Alex Ellis bf91f3f0a7 Move samples.yml to default name of stack.yml, upgrade to 0.7.0 in all samples
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-06 22:00:24 +00:00
..
2017-04-13 22:58:32 +01:00
2017-03-31 19:56:38 +01:00

WebhookStash

Example serverless function shows how to stash way contents of webhooks called via API gateway.

Each file is saved with the UNIX timestamp in nano seconds plus an extension of .txt

Example:

# curl -X POST -v -d @$HOME/.ssh/id_rsa.pub localhost:8080/function/webhookstash

Then if you find the replica you can check the disk:

# docker exec webhookstash.1.z054csrh70tgk9s5k4bb8uefq find