Skip to content

Instantly share code, notes, and snippets.

@abruzzi
Created December 27, 2013 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abruzzi/8144130 to your computer and use it in GitHub Desktop.
Save abruzzi/8144130 to your computer and use it in GitHub Desktop.
batch for loop
FOR /L %%A in (1, 1, 10) DO (
curl -H "Content-Type:application/json" -H "Accept: application/json" -X POST \
-d @request.json http://host:port/action.do -v -L \
--cookie "key=value" -i
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment