kore/examples/parameters/README.md

15 lines
270 B
Markdown
Raw Normal View History

Example on how to handle GET/POST parameters in Kore.
Run:
```
2017-03-06 11:00:53 +01:00
# kodev run
```
Test:
```
# curl -i -k https://127.0.0.1:8888/?id=123123
```
The output will differ based on whether or not id is a valid
u_int16_t number or not. (the string should always be present).