Created
November 10, 2021 15:22
-
-
Save bdstefan/a52aface3cf6ae90e478e3174b8d5e27 to your computer and use it in GitHub Desktop.
sample wrk lua script for json post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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