| 1 |
Example on how to handle GET/POST parameters in Kore. |
| 2 |
|
| 3 |
Run: |
| 4 |
``` |
| 5 |
# kodev run |
| 6 |
``` |
| 7 |
|
| 8 |
Test: |
| 9 |
``` |
| 10 |
# curl -i -k https://127.0.0.1:8888/?id=123123 |
| 11 |
``` |
| 12 |
|
| 13 |
The output will differ based on whether or not id is a valid |
| 14 |
u_int16_t number or not. (the string should always be present). |