view benchmark/bun-http-framework-benchmark/scripts/body.lua @ 226:3fa4bf481f42

[merge] Merge hg-web into default
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 14:42:01 -0700
parents a8976a008a9d
children
line wrap: on
line source

wrk.method = "POST"
wrk.body = '{ "hello": "world" }'
wrk.headers["Content-Type"] = "application/json"