Skip to content

Instantly share code, notes, and snippets.

@MikeNGarrett
Last active December 3, 2024 17:20
Show Gist options
  • Select an option

  • Save MikeNGarrett/f34531570625973c4cac to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Danke!

@shamess

shamess commented May 3, 2019

Copy link
Copy Markdown

Still useful! Thanks!

@nd-roy

nd-roy commented Aug 28, 2019

Copy link
Copy Markdown

Thank you :)

@prateek-mt

Copy link
Copy Markdown

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
Copy Markdown

helpful package! thanks!

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