testing/create_users.sh

10 lines
298 B
Bash
Raw Normal View History

2018-12-09 22:23:42 +00:00
#!/bin/bash
2018-12-09 23:36:00 +00:00
for f in {1..100};
2018-12-09 22:23:42 +00:00
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}
2019-01-17 13:41:56 +00:00
echo "";
2018-12-09 22:23:42 +00:00
done