mirror of
https://github.com/wg/wrk
synced 2026-05-18 03:29:50 +08:00
add a few example scripts
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- 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"
|
||||
Reference in New Issue
Block a user