Skip to content
Discussion options

You must be logged in to vote

Dokumentasi Singkat

Semua stasiun KAI

curl -X POST https://booking.kai.id/api/stations2

atau dalam kode JS

const response = await fetch('https://booking.kai.id/api/stations2', { method: 'POST' });
const json = await response.json();

console.log(json); // bentuknya Array

Response:

[
   {
      "city": "String",
      "cityname": "String",
      "code": "String",
      "name": "String"
    }
]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sooluh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #410 on August 16, 2025 02:51.