Skip to content

Instantly share code, notes, and snippets.

View mfickett's full-sized avatar

Mark Fickett mfickett

  • Integral Health
View GitHub Profile
@nitaku
nitaku / README.md
Last active September 10, 2024 19:46
Minimal JSON HTTP server in python

A minimal HTTP server in python. It sends a JSON Hello World for GET requests, and echoes back JSON for POST requests.

python server.py 8009
Starting httpd on port 8009...
curl http://localhost:8009
{"received": "ok", "hello": "world"}