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 f50d586 commit c7266afCopy full SHA for c7266af
week3/homework/README.md
@@ -5,19 +5,23 @@
5
Read through the code from the lecture, make sure you understand the flow of the
6
program.
7
8
-Add three more actions:
+Add four more actions:
9
+
10
+### `readTodo` (`GET /todos/:id`)
11
12
+ Get a single to-do with ID `:id`
13
14
### `clearTodos` (`DELETE /todos`)
15
-Clears the list of to-dos
16
+ Clears the list of to-dos
17
18
### `markAsDone` (`POST /todos/:id/done`)
19
-Sets the `done` flag of a single to-do to `true`
20
+ Sets the `done` flag of a single to-do to `true`
21
22
### `markAsNotDone` (`DELETE /todos/:id/done`)
23
-Sets the `done` flag of a single to-do to `false`
24
+ Sets the `done` flag of a single to-do to `false`
25
26
## Requirements
27
0 commit comments