Configuration
Terakhir disunting pada 23 Mei 2023
Header Authorization Configuration
You can contact us telecare@indihealth.com to get the token key.
Example in PHP
$token = "{your_token}";
$ch = curl_init('https://api-telecare-yankes-itb.indihealth.com/api/v1/jadwal-dokter/list');
$post = json_encode($post);
$authorization = "Authorization:".$token;
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json' , $authorization ));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1); POST
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$result = curl_exec($ch);
curl_close($ch);
return json_decode($result);