WebApi Concept
API | Description | Request body | Response body |
---|---|---|---|
GET /api/TodoItems | Get all to-do items | None | Array of to-do items |
GET /api/TodoItems/{id} | Get an item by ID | None | To-do item |
POST /api/TodoItems | Add a new item | To-do item | To-do item |
PUT /api/TodoItems/{id} | Update an existing item | To-do item | None |
DELETE /api/TodoItems/{id} | Delete an item | None | None |

Comments
Post a Comment