A JSON database based on Python http server. It's useful when building a IoT project.
To run the server, simply execute the Python script.
python3 server.py
Run the server with specific port number
python3 server.py 9693
Upload parameter by HTTP GET query string
http://127.0.0.1:9693/?key=value
Get JSON
http://127.0.0.1:9693/get_json
Get JSON then update parameter
http://127.0.0.1:9693/get_json?key=value_new
Run the server automaticlly by systemd
sudo cp python-http-server.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable python-http-server.service