/ justapi / benchmarks / workloads_baseline.py
swadhinbiswas WIP save-point: production hardening, H3 removal, fmt gate, and accumulated phase work · 7/15/2026
a293d8c
15 lines · 248 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from justapi import JustAPIApp
import json

app = JustAPIApp()


@app.post("/body_json")
def body_json(request):
    d = json.loads(request["body"].decode("utf-8"))
    return {"ok": True}


if __name__ == "__main__":
    app.run("127.0.0.1:8250")