testing/create_users.sh
2018-12-10 00:36:00 +01:00

9 lines
288 B
Bash
Executable File

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