gin_http/functional-test/auth.http

19 lines
378 B
HTTP

### Register a new user
POST http://localhost:8080/auth/register/
content-type: application/json
{
"email": "test@example.com",
"name" : "Test User",
"password": "examplePassword",
"password_confirm": "examplePassword"
}
### Login
POST http://localhost:8080/auth/login/
content-type: application/json
{
"email": "test@example.com",
"password": "examplePassword"
}