kore/examples/python
Joris Vink 43a0aef29f prefix HTTP defines when exporting them to python. 2018-04-10 14:35:52 +02:00
..
assets the example uses tls by default, so use it. 2017-01-31 09:21:06 +01:00
conf Allow param blocks to be marked as "querystring" 2018-01-16 18:47:50 +01:00
src prefix HTTP defines when exporting them to python. 2018-04-10 14:35:52 +02:00
.gitignore initial python example. 2017-01-25 22:38:06 +01:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

Kore python module example.

This application requires kore to be built with PYTHON=1.

It mixes native code (dso) with python code.

Run:

	$ kodev run

Test:

	$ curl -k https://127.0.0.1:8888
	$ curl -k https://127.0.0.1:8888/state
	$ curl -k https://127.0.0.1:8888/auth
	$ curl -X PUT -d '{\"hello\": 123}' https://127.0.0.1:8888/json