You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
308 B

#!/bin/sh
URL='http://localhost:3456'
for f in {1..100};
do
data="{\"username\":\"testuser${f}\",\"email\":\"testuser${f}@kolaente.de\",\"password\":\"1234\"}"
#echo $data
curl ${URL}/api/v1/register -H "accept: application/json" -H "Content-Type: application/json" -X POST -d ${data}
echo "";
done