/kv/rest/v1/sets REST Method
Body Parameters
key
string
REQUIRED
A unique identifier for the key-value set
value
string
REQUIRED
The value associated with the specified key
Returns
200 OK
Indicates that the key-value set was successfully created
Request
1curl -X POST \2"https://api.quicknode.com/kv/rest/v1/sets" \3-H "accept: application/json" \4-H "Content-Type: application/json" \5-H "x-api-key: YOUR_API_KEY" \6-d $'{7"key": "key_1",8"value": "value_1"9}'10
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free