WebApi Based Key Value Pair Storage
Api: https://storage.conchbrain.club/demo/set
Method: PUT
Content-Type: application/json
Para: Custom bucket name (eg. demo) Request body with key and value ( key must be a string )
curl -X PUT 'https://storage.conchbrain.club/demo/set' \
-H 'Content-Type: application/json;' \
-d '{ "key": "Hi", "value": "ConchBrain KVStorage" }'
Response: “Put successful”
Api: https://storage.conchbrain.club/demo/get
Method: GET
Para: Custom bucket name (eg. demo) key
curl https://storage.conchbrain.club/demo/get?Hi
Response: “Welcome”
Api: https://storage.conchbrain.club/demo
Method: GET
Para: Custom bucket name (eg. demo)
curl https://storage.conchbrain.club/demo
Response: JsonStr
Api: https://storage.conchbrain.club/demo/delete
Method: DELETE
Para: Custom bucket name (eg. demo) key
curl -X DELETE https://storage.conchbrain.club/demo/delete?hello