This commit is contained in:
Dwi Swandhana
2026-08-03 18:34:45 +07:00
parent b957be735d
commit 60681f08cc
4 changed files with 66 additions and 260 deletions
@@ -106,7 +106,7 @@ class PasienController extends Controller
} else {
try {
$client = new Client();
$res = $client->request('GET', 'http://10.10.123.204/api/account/pasien', ['query' => ['limit' => 10, 'nomedis' => $norm]]);
$res = $client->request('GET', 'https://gomed.rssa.my.id/api/account/pasien', ['query' => ['limit' => 10, 'nomedis' => $norm]]);
$response_data = json_decode($res->getBody()->getContents());
if (isset($response_data->response[0])) {
$hasil = $response_data->response[0];