Skip to content
Snippets Groups Projects
Commit b32a3f30 authored by eiji.ienaga's avatar eiji.ienaga Committed by Alex Ellis
Browse files
parent 7f2a35cd
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,8 @@ $ curl -d "# test" localhost:8080/function/markdown | \
You could also do this via code, or through the `faas-cli`:
```
$ echo "test" | faas-cli invoke --name markdown | \
faas-cli invoke --name slack
$ echo "test" | faas-cli invoke markdown | \
faas-cli invoke slack
```
## Server-side access via gateway
......
......@@ -89,8 +89,8 @@ Your function will appear after a few seconds and you can click "Invoke"
You can also use the CLI like this:
```
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
```
## Asynchronous functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment