Usage:
- Show all records in kvstore:
curl http://localhost:8080/index
- Create record:
curl --request POST http://localhost:8080/create --data "key=key&value=value&ttl=1000"
- Show record:
curl http://localhost:8080/show/key
- Update record:
curl --request PUT http://localhost:8080/update/key --data "key=updated_key&value=updated_value&ttl=1000"
- Destroy record:
curl --request DELETE http://localhost:8080/destroy/updated_key