{
"cmd": "LOGIN",
"uid": "DWS0009",
"tid": "123456",
"sig": "a6df01490a452118c9b673dcbbc6f5e4"
}
Contoh request:
curl --location --request POST 'https://localhost/api/dwimas.php' \
--header 'Content-Type: application/json' \
--data-raw '{
"cmd": "LOGIN",
"uid": "DWS0009",
"tid": "123456",
"sig": "a6df01490a452118c9b673dcbbc6f5e4"
}'
Contoh Respon:
{
"code": "500",
"status": "Login Berhasil",
"data": {
"uid": "DWS0009",
"nama": "tes",
"nohp": "+6281910400347",
"alamat": "CILEUNYI"
}
}