Skip to content

Instantly share code, notes, and snippets.

@bdstefan
Created November 10, 2021 15:22
Show Gist options
  • Save bdstefan/a52aface3cf6ae90e478e3174b8d5e27 to your computer and use it in GitHub Desktop.
Save bdstefan/a52aface3cf6ae90e478e3174b8d5e27 to your computer and use it in GitHub Desktop.
sample wrk lua script for json post
wrk.method = "POST"
wrk.body = "{\"email\":{\"value\":\"[email protected]\"}}"
wrk.headers["Content-Type"] = "application/json"
wrk.headers["Authorization"] = "Basic eHh4Onl5eQ=="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment