diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-13 19:23:25 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-13 19:23:25 +0100 |
commit | 4e918ce7cbc2bb18823a233abf3dc1c6a260ecc4 (patch) | |
tree | bde86bd6190cf497c7f66c4ffd1a8d71dbb15fff /api/tests.sh | |
parent | 26631dadc7cf1406060f2574ce3dda484066ac6a (diff) |
user registration api endpoint
Diffstat (limited to 'api/tests.sh')
-rwxr-xr-x | api/tests.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/api/tests.sh b/api/tests.sh new file mode 100755 index 0000000..391aa0f --- /dev/null +++ b/api/tests.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +signup () { + curl -X POST \ + -H "Content-Type: application/json" \ + -d '{ + "username": "test", + "email": "test@example.com", + "password": "password123" + }' \ + localhost:5000/api/auth/signup +} |