Skip to content

Instantly share code, notes, and snippets.

@patrickhulce
Created February 4, 2016 21:13
Show Gist options
  • Save patrickhulce/77baba7a15cd449b267d to your computer and use it in GitHub Desktop.
Save patrickhulce/77baba7a15cd449b267d to your computer and use it in GitHub Desktop.
siege POST
siege -c 20 -d 0 -H "Content-Type: application/x-www-form-urlencoded" -g 'http://localhost:3000/endpoint POST mydata=foo'
siege -c 20 -d 0 -H "Content-Type: application/json" -g 'http://localhost:3000/endpoint POST {"key": "value"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment