/ justapi / benchmarks / workloads_bt4_schemaonly.py
swadhinbiswas WIP save-point: production hardening, H3 removal, fmt gate, and accumulated phase work · 7/15/2026
a293d8c
10 lines · 255 Bytes
1
2
3
4
5
6
7
8
9
10
from justapi import JustAPIApp, Schema
import json
app = JustAPIApp()
@app.post("/body_json")
def body_json(request):
    return json.loads(request["body"].decode("utf-8"))
if __name__ == "__main__":
    import sys
    app.run(f"127.0.0.1:{sys.argv[1]}")