Simple single threaded database HTTP Server
SQLite3 :memory: database wrapped with Flask
View /test/client.py for a simple implementation in Python
Requirements:
pip install Flask
Requires requests for /test/client.py
pip install requests
Endpoints:
| METHOD | ENDPOINT | DESCRIPTION | JSON |
|---|---|---|---|
POST |
/execute |
execute SQL query | {query str, data list} |
GET |
/load |
loads database from drive | NULL |
GET |
/save |
saves :memory: database to drive |
NULL |
GET |
/tables |
get database tables | NULL |