mirror of
https://git.kore.io/kore.git
synced 2024-11-11 20:59:07 +01:00
22 lines
372 B
Markdown
22 lines
372 B
Markdown
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:
|
|
```
|
|
$ kodev build
|
|
```
|
|
|
|
Run:
|
|
```
|
|
$ kodev run
|
|
```
|
|
|
|
Test:
|
|
```
|
|
$ curl -i -k https://127.0.0.1:8888/?user=astring
|
|
The returned data must match what you supplied in user ([a-z] string)
|
|
```
|