Last active
December 3, 2024 17:20
-
-
Save MikeNGarrett/f34531570625973c4cac to your computer and use it in GitHub Desktop.
Siege with JSON POST data
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
# 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"]}' |
Thanks
Thanks Very helpful
thks
Danke!
Still useful! Thanks!
Thank you :)
I'm stuck while trying to make it work with a https url. http works fine, https gives no response. Any suggestions ?
helpful package! thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you were stuck like me with no JSON being read at server-side, then use --content-type "application/json" instead of the header.