Skip to content

Commit 4b1a00b

Browse files
Update first-web-api.md (#18102)
1 parent f904cf9 commit 4b1a00b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

aspnetcore/tutorials/first-web-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

4242
The following diagram shows the design of the app.
4343

0 commit comments

Comments
 (0)