kore/examples/parameters
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 kore_buf_create -> kore_buf_alloc. 2016-07-14 12:34:29 +02:00
.gitignore Add a parameters example. 2014-08-04 19:00:25 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

Example on how to handle GET/POST parameters in Kore.

Run:

	# kodev run

Test:

	# curl -i -k https://127.0.0.1:8888/?id=123123

The output will differ based on wether or not id is a valid u_int16_t number or not. (the string should always be present).