diff options
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 +} |