hotel-service/http/auth.http

18 lines
290 B
Plaintext
Raw Normal View History

### Register a new user
POST {{baseurl}}/auth/register
Content-Type: application/json
{
"email": "test@test.com",
"password": "password",
"role": "ADMIN"
}
### Login
POST {{baseurl}}/auth/login
Content-Type: application/json
{
"email": "test@test.com",
"password": "password"
}