From 52f64b6a403ab752f1d2c7d2fae3f1dafa1d0a4e Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Tue, 15 Nov 2016 12:56:24 -0800 Subject: [PATCH] Minor readme updates. --- README.md | 12 ++++++++++-- examples/hello/go/README.md | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0b4280c68..c9b8d9fa9 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,16 @@ 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 -write your functions in AWS's [Lambda format](docs/lambda/README.md). +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 diff --git a/examples/hello/go/README.md b/examples/hello/go/README.md index 9394b3f0a..84b2a7d8c 100644 --- a/examples/hello/go/README.md +++ b/examples/hello/go/README.md @@ -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