![]() |
uRPC micro Remote Procedure Calls - 0.97» news | search | translate |
![]() ![]() ![]() |
kvimplements a simple key:value database.The storage capacity is 256 KB and has a TTL of one day. If there are no changes within 24 hours, the data will be deleted. Note: the backend storage is hosted on Cloudflare servers. Arguments: user your unique identifier, at least 32 characters k key (UTF-8), max 256 chars v value (UTF-8) method optional The action is specified via the HTTP method or, using HTTP GET, with the argument method: DELETE delete; note: without k, it deletes all the records GET read; note: without k, it returns all the records (JSON) PUT write You can use this database as a data collector: micros write to it and clients retrieve the data from it. Example: Write one value: http[s]://minions.saltlake71.eu/kv?user=01234567890123456789012345678901&method=put&k=key1&v=test Once you have posted data, you can view it by clicking here: http[s]://minions.saltlake71.eu/kv?user=01234567890123456789012345678901 |