Skip to content

Instantly share code, notes, and snippets.

@albovieira
Created August 6, 2018 12:48
Show Gist options
  • Save albovieira/8446db6aae7cb9e5fe3e4ed5eea43dc9 to your computer and use it in GitHub Desktop.
Save albovieira/8446db6aae7cb9e5fe3e4ed5eea43dc9 to your computer and use it in GitHub Desktop.
while loop
#!/bin/sh
a=0
while [ $a -lt 100000 ]
do
curl -X POST \
http://localhost:3000/auth/login \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: d268322e-137b-485d-9cc8-ae1af3121a0b' \
-d '{
"email":"albovieira@gmail.com",
"password": "Al1032299"
}'
a=`expr $a + 1`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment