Simple API in rust to connecto to a database
curl -i \
-H "content-type: application/json" \
-X GET http://localhost:8080/records
curl -i \
-H "content-type: application/json" \
-X GET http://localhost:8080/records/1
curl -i \
-H "content-type: application/json" \
-X POST http://localhost:8080/records \
-d '{"name":"test"}'
curl -i \
-H "content-type: application/json" \
-X PATCH http://localhost:8080/records/1 \
-d '{"name":"update name"}'
curl -i \
-H "content-type: application/json" \
-X DELETE http://localhost:8080/records/1