cURL
curl --request POST \ --url https://{api_host}/api/set \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "value": "<string>", "ttl_mins": 123 } '
{ "key": "<string>", "value": "<string>", "ttl_mins": 123 }
Sets the value of a key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success