Hello World example

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2020-01-27 16:05:57 +01:00
parent 4125487902
commit c166a82dec
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
kapow route add /helloworld -c "echo 'Hello World!' | kapow set /response/body"
+15
View File
@@ -0,0 +1,15 @@
# A simple Hello World example
## How to run it?
```
$ kapow server HelloWorld.pow
```
## How to consume it?
```
$ curl http://localhost:8080/helloworld
Hello World!
```