goRestServer go get go run *.go localhost:8080 test the post with curl -H "Content-Type: application/json" -d '{"name":"New Todo"}' http://localhost:8080/todos