- Getting Started
- Version
- Auth
- User
- Kereta
- Pelanggan
- Gerbong
- Kursi
- Jadwal
- Pembelian Tiket
Find Many User
Developing
GET
/user
Maintainer:Muhammad Fadhil Kholaf
Request
Cookie Params
token
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://kereta.api.fadhilkholaf.my.id/user' \
--header 'Cookie: token='
Responses
🟢200Success
application/json
Body
message
string
required
data
array[object (User) {6}]
required
id
string
required
username
string
required
password
string
required
role
enum<string>
required
Allowed values:
pelangganpetugas
createdAt
string
required
updatedAt
string
required
Example
{
"message": "string",
"data": [
{
"id": "string",
"username": "string",
"password": "string",
"role": "pelanggan",
"createdAt": "string",
"updatedAt": "string"
}
]
}
🟠401Unauthorized
🔴500Server Error
Modified at 2025-03-16 17:33:58