mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Minor readme updates.
This commit is contained in:
10
README.md
10
README.md
@@ -135,7 +135,15 @@ fnctl apps create myapp
|
||||
fnctl routes create myapp /hello
|
||||
```
|
||||
|
||||
You can find a bunch of examples in various languages in the [examples](examples/) directory. You can also
|
||||
Now you can call your function:
|
||||
|
||||
```sh
|
||||
curl http://localhost:8080/r/myapp/hello
|
||||
```
|
||||
|
||||
Or surf to it: http://localhost:8080/r/myapp/hello
|
||||
|
||||
See below for more details. And tou can find a bunch of examples in various languages in the [examples](examples/) directory. You can also
|
||||
write your functions in AWS's [Lambda format](docs/lambda/README.md).
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -17,9 +17,9 @@ fnctl routes create myapp /hello
|
||||
|
||||
Now you can call your function on IronFunctions:
|
||||
|
||||
```sh
|
||||
curl -H "Content-Type: application/json" -X POST -d @hello.payload.json http://localhost:8080/r/myapp/hello
|
||||
```
|
||||
```sh
|
||||
curl -H "Content-Type: application/json" -X POST -d @hello.payload.json http://localhost:8080/r/myapp/hello
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user