Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"]}'
@rsoumyassdi
Copy link

rsoumyassdi commented Jun 16, 2017

Thanks

@wzw1990
Copy link

wzw1990 commented Aug 27, 2018

Thanks Very helpful

@Liaozhebin
Copy link

Liaozhebin commented Nov 26, 2018

thks

@umeshabhat
Copy link

umeshabhat commented Apr 25, 2019

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

prateek-mt commented Jul 7, 2020

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

quydau35 commented Oct 20, 2020

helpful package! thanks!

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