todo/

directory
v0.0.0-...-2cbf6af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0

README

ToDoApp

API endpoints:

GET http://localhost:8020/todos            # for listing all to-do items
POST http://localhost:8020/todos           # for creating a to-do item
PUT http://localhost:8020/todos/:id        # for updating a to-do item
DELETE http://localhost:8020/todos/:id     # for deleting a to-do item

Demo

You can make HTTP requests in Postman. First we create a to-do item with POST request. POST example

You can update previously created to-do item with PUT request. You can partially update to-do item by providing either title or details in update_mask field. PUT example

You will see the updated to-do item if you call GET request to list all to-do items. GET updated item example

You can delete the to-do item. DELETE example

And you will get empty list if you make GET request. GET empty list example

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL