SimpleKV

Lightweight HTTP-based Key-Value Store

01. Get API Key

Generate your unique API key

02. Read Data

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

03. Write Data

Method 1: GET

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

Method 2: POST

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

04. Usage Limits

Max value length: 1024 bytes

Max key length: 64 bytes