Update
This commit is contained in:
@@ -195,10 +195,17 @@ class ItemSearchController extends Controller
|
|||||||
->count();
|
->count();
|
||||||
|
|
||||||
if ($cek > 0) {
|
if ($cek > 0) {
|
||||||
$urlAPI = "http://10.15.34.90:8820/api/tpg-tamsil/cek-sp2t";
|
$urlAPIDev = "http://10.15.34.90:8820/api/tpg-tamsil/cek-sp2t";
|
||||||
|
$userDev = "sidata_tpgtamsil_dev";
|
||||||
|
$passDev = "sidataAp!TpgT4ms1lD3v";
|
||||||
|
|
||||||
|
$urlAPI = "https://simpad.jakarta.go.id/api/tpg-tamsil/cek-sp2t'";
|
||||||
|
$user = "sidata_tpgtamsil";
|
||||||
|
$pass = "sidataAp!TpgT4ms1l";
|
||||||
|
|
||||||
$httpSTS = Http::withHeaders([
|
$httpSTS = Http::withHeaders([
|
||||||
'Accept' => 'application/json',
|
'Accept' => 'application/json',
|
||||||
])->withBasicAuth('sidata_tpgtamsil_dev', 'sidataAp!TpgT4ms1lD3v')
|
])->withBasicAuth($user, $pass)
|
||||||
->post($urlAPI, [
|
->post($urlAPI, [
|
||||||
"no_sp2t" => $no_skprd,
|
"no_sp2t" => $no_skprd,
|
||||||
"kode_rekening" => $kode_akun
|
"kode_rekening" => $kode_akun
|
||||||
|
|||||||
Reference in New Issue
Block a user