Key Value Store

From Pandorabox
Revision as of 16:32, 29 July 2019 by BuckarooBanzai (talk | contribs) (Created page with "There is a key-value store on the local infrastructure ==== HTTP Usage ==== Save the value '''myvalue''' to '''mykey''': <pre> GET https://pandorabox.io/kv/SET/mykey/myvalue...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There is a key-value store on the local infrastructure

HTTP Usage

Save the value myvalue to mykey:

GET https://pandorabox.io/kv/SET/mykey/myvalue

Result:

{"SET":[true,"OK"]}

Retrieve the value on mykey:

GET https://pandorabox.io/kv/GET/mykey

Result:

{"GET":"myvalue"}

Retrieve the value on mykey as text:

GET https://pandorabox.io/kv/GET/mykey.txt

Result:

myvalue

Internal usage

TODO