Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.55 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.55 KB

Todo List

build test

Description Method URL Body
Sign-in GET /auth/signin { "username": "eduardo", "password": "senha" }
Sign-up POST /auth/signip { "username": "eduardo", "password": "senha" }
Index todo GET /todo
Show todo GET /todo/:todoId
Create todo POST /todo { "description": "abcd" }
Update todo PUT /todo/:todoId { "description": "abcd", "completed": false }
Delete todo DELETE /todo/:todoId
Set todo complete POST /todo/:todoId/complete/:boolean

Swagger: /swagger/views/swagger-ui