Files
fn-serverless/examples/hello/README.md
Travis Reeder e90a109ed5 Updated README.
2016-10-06 10:45:33 -07:00

24 lines
246 B
Markdown

This is a worker that just echoes the "input" param in the payload.
eg:
This input:
```json
{
"name": "Johnny Utah"
}
```
Will output:
```
Hello Johnny Utah!
```
## Try it
```
echo '{"name":"Johnny"}' | docker run --rm -i iron/hello
```