YOU MUST INVOKE THE KVSTORE USERS/SIGNUP ENDPOINT to complete the registration to KVStore.io (and in addition to your RapidAPI account)
KVStore.io is a simple Key/Value
API based storage service.
In order to complete the registration to KVStore.io (and in addition to your Mashape account), YOU MUST INVOKE THE KVSTORE USERS/SIGNUP ENDPOINT. If you don’t complete this step, your API calls will fail returning a 401 HTTP code (Unauthorized)
Please, be careful and subscribe to KVStore.io using a different password than the one you’re using to access the Mashape marketplace
If you need to store data, such as user forms, but you just have a static HTML website (such as GitHub pages), then this is what you need!
In order to use this feature, follow these simple steps:
users/signup
endpoint)js
true
. This enables the client-side-only
feature (if false any attempt to write data fails)kvstoreio(collection, key, value, callback)
:
collection
(string): the name of the collection on KVStore.io (it must exist)key
(string)value
(string)callback
(function, optional): async method invoked after the save has been completedKVStore.io (v0.2.x) supports two different uses:
RESTful API
intended for server-to-server
environments (e.g. to manage server configurations, to store dynamic data coming from user forms and so on…)client-side-only
applications (like static pages, e.g. gh-pages
) for data provided by users, typically web formsPlease note: you can use KVStore.io in both ways at the same time. The
client-side-only
feature can be enabled by setting thepublic_write
collection flag (see docs below)