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"]}'
@umeshabhat
Copy link

Danke!

@shamess
Copy link

shamess commented May 3, 2019

Still useful! Thanks!

@nd-roy
Copy link

nd-roy commented Aug 28, 2019

Thank you :)

@prateek-mt
Copy link

I'm stuck while trying to make it work with a https url. http works fine, https gives no response. Any suggestions ?

@quydau35
Copy link

helpful package! thanks!

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