Konversi Zona Waktu
Ubah waktu antar zona, lengkap dengan WIB, WITA, dan WIT sekaligus.
POST /api/v1/timezone-convert- Versi API
- v1
- Skema output
- 1
Path endpoint selalu /v1. Angka skema di bawah menandai bentuk output tool ini dan berubah terpisah.
Bikin akun gratis →Parameter
| Parameter | Tipe | Wajib | Default |
|---|---|---|---|
| time | text | tidak | — |
| from | text | tidak | — |
| to | text | tidak | — |
Request
curl -X POST https://sinikoding.dev/api/v1/timezone-convert \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"time":"…","from":"…","to":"…"}'
Mengembalikan
"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Memanggil endpoint sandbox same-origin, bukan /api/v1. Tanpa key, dibatasi 15 request per menit.
Request
curl -X POST https://sinikoding.dev/api/v1/timezone-convert \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"time":"","from":"","to":""}'
Response
Kirim request untuk melihat response-nya.