exposed @ localhost:8000
run the command,
airAll routes are prefixed with /api/v1 for the version one API routes.
-
POST
/runIt takes the python code ascontentin the body of the request, and throws out metrics and run of the code.sample url,
{ "content": "def add(a, b):\n return a + b\nprint(add(2, 5))" }eg:
{ "error": "", "ok": true, "output": "7\r\n", "time_taken": 8993200, "time_units": "ns" }