This commit is contained in:
Dwi Swandhana
2026-07-11 06:21:16 +07:00
parent 943282e3f9
commit d6bba3e216
6 changed files with 809 additions and 13 deletions
@@ -106,7 +106,7 @@ class PasienController extends Controller
} else {
try {
$client = new Client();
$res = $client->request('GET', 'https://gomed.rssa.my.id/api/account/pasien', ['query' => ['limit' => 10, 'nomedis' => $norm]]);
$res = $client->request('GET', 'http://10.10.123.204/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];