This Route creates a User with a email and password provided.
http://localhost:8080/auth/signup
POST
application/json
| Name | Type |
|---|---|
| "email" | String! |
| "password" | String! |
| Name | Type |
|---|---|
| - | - |
| Name | Type |
|---|---|
| - | - |
| Code | Description | Reason |
|---|---|---|
| 201 | Created | Successfully Created |
| 409 | Conflict | Email already exists |
http://localhost:8080/auth/signup
{
"email":"mwa@hdm-stuttgart.de",
"password":"Mwa123456"
}Created⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
http://localhost:8080/auth/login
POST
application/json
"email": String!
"password": String!
"token": String!
http://localhost:8080/auth/login
{
"email":"mwa@hdm-stuttgart.de",
"password":"Mwa123456"
}{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2Mjg2NTdhM2I2NjI3MzY1MjI3ODRkMWIiLCJpYXQiOjE2NTI5NzE1NzUsImV4cCI6MTY1MzA1Nzk3NX0.ynExloWT2GSWXc0iMPW7xaBXU5kNZSpdcr6Vd0jaa0E"
}⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
http://localhost:8080/auth/check
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
Powered By: postman-to-markdown