-
/auth
- POST
- HTTP Request
- url: "http://localhost:8080/task-app/auth"
- header: Content-type: JSON
- Body
- { "username": "username", "password": "password"}
- HTTP Response
- status code
- 200: success
- 400: unable to login
- body
- Principal - UserDTO
- Header:
- set-cookie: JSessionID
- status code
- HTTP Request
- POST
-
/users
- GET
- /users
- HTTP Request
- url: "http://localhost:8080/task-app/users"
- headers:
- cookie: JSessionID
- has to be ADMIN
- cookie: JSessionID
- HTTP Response
- status code
- 200: success
- 401: unauthorized
- status code
- body
- UserDTO[]
- Header:
- content-type: JSON
- HTTP Request
- /users
- GET
220919-WVA-JavaReact/task-app-api
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|