Lightweight HTTP-based Key-Value Store
Generate your unique API key
Endpoint:
GET https://skv-api.42ter.com/api/get/{API_KEY}/{KEY}
Example:
curl "https://skv-api.42ter.com/api/get/9irB71C/user"
Response:
200 → value | 4xx/5xx → empty
Endpoint:
GET https://skv-api.42ter.com/api/set/{API_KEY}/{KEY}/{VALUE}
Example:
curl "https://skv-api.42ter.com/api/set/9irB71C/user/john"
Response:
200 → "OK" | 4xx/5xx → error msg
Endpoint:
POST https://skv-api.42ter.com/api/set/{API_KEY}/{KEY}
Example (body = value):
curl -X POST -d "john" \ "https://skv-api.42ter.com/api/set/9irB71C/user"
Response:
200 → "OK" | 4xx/5xx → error msg
Max value length: 1024 bytes
Max key length: 64 bytes