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:
|
|
|
|
```
|
2016-01-27 21:32:57 +01:00
|
|
|
$ 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)
|
|
|
|
```
|