kore/examples/tasks
Joris Vink f6cd16c567 Replace static/dynamic with a single option: route
Kore will automatically detect if a route is a dynamic or static one
so there is no need for the configuration options to differ anymore.
2019-11-15 08:11:02 +01:00
..
conf Replace static/dynamic with a single option: route 2019-11-15 08:11:02 +01:00
src Allow listening of tls/notls ports at the same time. 2019-09-27 12:27:04 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

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)