Skip to content

Instantly share code, notes, and snippets.

@MikeNGarrett
Last active April 3, 2024 03:49
Show Gist options
  • Star 74 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save MikeNGarrett/f34531570625973c4cac to your computer and use it in GitHub Desktop.
Save MikeNGarrett/f34531570625973c4cac to your computer and use it in GitHub Desktop.
Siege with JSON POST data
# Changed to use content-type flag instead of header: -H 'Content-Type: application/json'
siege -c50 -t60S --content-type "application/json" 'http://domain.com/path/to/json.php POST {"ids": ["1","2","3"]}'
@quydau35
Copy link

helpful package! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment