UNLOCK API
test

test

Echo untuk debugging. Mengembalikan body JSON yang diterima, tanpa clientKey. Tanpa pengecekan key, tanpa biaya.
POSThttps://unlock-api.com/test
Tidak ada parameter wajib. Kirim body JSON apa saja.

Request

POST /test
{
  "clientKey": "YOUR_API_KEY",
  "hello": "world"
}

Respons

Berhasil
{
  "errorId": 0,
  "received": {
    "hello": "world"
  }
}

Field respons

errorId
Integer
0 jika request berhasil, 1 jika tidak.
received
Object
Body yang dikirim, tanpa clientKey.

Contoh kode

curl -s https://unlock-api.com/test \
  -H "Content-Type: application/json" \
  -d '{"clientKey":"YOUR_API_KEY","hello":"world"}'