curl --request POST \
--url https://{api_host}/api/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key": "my-data",
"ttl_mins": 1,
"value": "{\"some-property\":\"some value that will expire in 1 minute\"}"
}
'