about summary refs log tree commit diff
path: root/users/wpcarro/assessments/tt/tests/create-accounts.sh
blob: 8c2a66bc8bd702b7b9a63f24d56c5585c361d010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env sh

# This script populates the Accounts table over HTTP.

http POST :3000/accounts \
  username=mimi \
  password=testing \
  email=miriamwright@google.com \
  role=user

http POST :3000/accounts \
  username=bill \
  password=testing \
  email=wpcarro@gmail.com \
  role=manager

http POST :3000/accounts \
  username=wpcarro \
  password=testing \
  email=wpcarro@google.com \
  role=admin