Distributed key value store
Run sh startup.sh
-
Try
curl --location --request POST 'localhost:10001/put' \ --header 'Content-Type: application/json' \ --data '{ "Key": "400", "Value" : "test" }'
-
Try
curl --location 'localhost:10001/get/400'
-
Try
curl --location 'localhost:10000/get/400'
-
You should see the same value on both