6 lines
219 B
Lua
6 lines
219 B
Lua
|
-- example HTTP POST script which demonstrates setting the
|
||
|
-- HTTP method, body, and adding a header
|
||
|
|
||
|
wrk.method = "POST"
|
||
|
wrk.body = "foo=bar&baz=quux"
|
||
|
wrk.headers["Content-Type"] = "application/x-www-form-urlencoded"
|