cd kapitel04
go run main.go
curl -X GET \
http://localhost:8080/contacts \
-H 'cache-control: no-cache'
curl -X GET \
http://localhost:8080/contacts/1
curl -X POST \
http://localhost:8080/contacts \
-H 'Content-Type: application/json' \
-d '{
"Firstname": "Kater",
"Lastname": "Kalle"
}'
curl -X DELETE \
http://localhost:8080/contacts/1
curl -X PUT \
http://localhost:8080/contacts/1 \
-H 'Content-Type: application/json' \
-d '{
"Firstname": "Jens",
"Lastname": "Wirdemann"
}'