File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ This tutorial creates the following API:
3333
3434| API | Description | Request body | Response body |
3535| --- | ---- | ---- | ---- |
36- | GET /api/TodoItems | Get all to-do items | None | Array of to-do items|
37- | GET /api/TodoItems/{id} | Get an item by ID | None | To-do item|
38- | POST /api/TodoItems | Add a new item | To-do item | To-do item |
39- | PUT /api/TodoItems/{id} | Update an existing item   ; | To-do item | None |
40- | DELETE /api/TodoItems/{id}   ;   ; | Delete an item   ;   ; | None | None|
36+ | ` GET /api/TodoItems ` | Get all to-do items | None | Array of to-do items|
37+ | ` GET /api/TodoItems/{id} ` | Get an item by ID | None | To-do item|
38+ | ` POST /api/TodoItems ` | Add a new item | To-do item | To-do item |
39+ | ` PUT /api/TodoItems/{id} ` | Update an existing item   ; | To-do item | None |
40+ | ` DELETE /api/TodoItems/{id} `   ;   ; | Delete an item   ;   ; | None | None|
4141
4242The following diagram shows the design of the app.
4343
You can’t perform that action at this time.
0 commit comments