Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695203b commit 3be7862Copy full SHA for 3be7862
week3/homework/README.md
@@ -9,19 +9,19 @@ Add four more actions:
9
10
### `readTodo` (`GET /todos/:id`)
11
12
- Get a single to-do with ID `:id`
+Get a single to-do with ID `:id`
13
14
### `clearTodos` (`DELETE /todos`)
15
16
- Clears the list of to-dos
+Clears the list of to-dos
17
18
-### `markAsDone` (`POST /todos/:id/done`)
+### `markAsDone` (PATCH /todos/:id)
19
20
- Sets the `done` flag of a single to-do to `true`
+Sets the done flag of a single to-do to true
21
22
-### `markAsNotDone` (`DELETE /todos/:id/done`)
+### `markAsNotDone` (PATCH /todos/:id)
23
24
- Sets the `done` flag of a single to-do to `false`
+Sets the done flag of a single to-do to false
25
26
## Requirements
27
0 commit comments