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