Update README.md

This commit is contained in:
Alex Ellis 2017-04-14 19:20:19 +01:00 committed by GitHub
parent 2649cc19e2
commit c897b1be75

View File

@ -16,7 +16,8 @@ Use this FaaS function to resize an image with ImageMagick.
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
# chmod +x ./faas-cli-macos
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer -fprocess="convert - -resize 50% fd:1"
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer \
-fprocess="convert - -resize 50% fd:1"
200 OK
URL: http://localhost:8080/function/resizer
```