testing/create_users.sh

9 lines
288 B
Bash
Raw Normal View History

2018-12-09 22:23:42 +00:00
#!/bin/bash
for f in {1..10};
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