kore/examples/tasks/README.md

22 lines
372 B
Markdown
Raw Normal View History

2014-08-03 21:44:14 +02:00
Kore task example.
This example creates an asynchronous task from the page handler
that performs a POST to the same server and fetches its data
before returning to the client.
Build:
```
2017-03-06 11:00:53 +01:00
$ kodev build
2014-08-03 21:44:14 +02:00
```
Run:
```
2017-03-06 11:00:53 +01:00
$ kodev run
2014-08-03 21:44:14 +02:00
```
Test:
```
$ curl -i -k https://127.0.0.1:8888/?user=astring
2014-08-03 21:44:14 +02:00
The returned data must match what you supplied in user ([a-z] string)
```