Skip to content

Instantly share code, notes, and snippets.

@FerraBraiZ
Forked from MikeNGarrett/siege
Created May 4, 2022 20:30
Show Gist options
  • Save FerraBraiZ/858beaf69b2fa869f17ad4512350a45f to your computer and use it in GitHub Desktop.
Save FerraBraiZ/858beaf69b2fa869f17ad4512350a45f 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"]}'
@FerraBraiZ
Copy link
Author

siege -t600s -c150 --content-type "application/json" 'https://shark-tank-ecs.madeiramadeira.com.br/index.php POST {"gordao":"chocolate-sensual-prodution-XABLAUUUUUUUUUUUUUUUUU"}'

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