This is a VERY simple REST API for a todo list. It is written in Go using github.com/gin-gonic/gin
module.
curl -X POST -H "Content-Type: application/json" -d '{"id": "6", "item": "Test todos", "completed": false}' http://localhost:8080/todos
curl -X GET http://localhost:8080/todos
curl -X GET http://localhost:8080/todos/1
curl -X PATCH -H "Content-Type: application/json" http://localhost:8080/todos/1
Coded with this video