mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fix env var readme
This commit is contained in:
@@ -120,7 +120,7 @@ Eg. /redis/do
|
|||||||
```
|
```
|
||||||
curl -X POST --data '{
|
curl -X POST --data '{
|
||||||
"name": "do",
|
"name": "do",
|
||||||
"image": "$USERNAME/func-redis",
|
"image": "'$USERNAME'/func-redis",
|
||||||
"path": "/do"
|
"path": "/do"
|
||||||
}' http://$FUNCHOST/v1/apps/redis/routes
|
}' http://$FUNCHOST/v1/apps/redis/routes
|
||||||
```
|
```
|
||||||
@@ -131,8 +131,8 @@ Now that we created our Function route, lets test it.
|
|||||||
|
|
||||||
```
|
```
|
||||||
curl -X POST --data '{
|
curl -X POST --data '{
|
||||||
"redis":"$REDISHOST",
|
"redis":"'$REDISHOST'",
|
||||||
"redisAuth":"$REDISAUTH",
|
"redisAuth":"'$REDISAUTH'",
|
||||||
"command": "SET",
|
"command": "SET",
|
||||||
"args":["abc", "123"]
|
"args":["abc", "123"]
|
||||||
}' http://$FUNCHOST/redis/exec
|
}' http://$FUNCHOST/redis/exec
|
||||||
|
|||||||
Reference in New Issue
Block a user