Add DTO, exceptions, Flyway config, JPA file and test that allows user registration.
This commit is contained in:
5
scripts/register
Executable file
5
scripts/register
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl -s -X POST http://localhost:8080/auth/register \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"username": "starkey", "password": "password"}'
|
||||
Reference in New Issue
Block a user