wip
This commit is contained in:
1 parent
2ab46a862f
commit
fe7f643420
2 files changed
+22
-17
No files matched your search
@@ -11,7 +11,7 @@ public function index(Request $request): mixed
|
||||
$curl = curl_init();
|
||||
|
||||
curl_setopt_array($curl, [
|
||||
CURLOPT_URL => 'http://10.3.158.102:9999/api/clientinfo/all',
|
||||
CURLOPT_URL => 'http://10.3.158.102:9999/api/clientcardinfo',
|
||||
CURLOPT_RETURNTRANSFER => true,
|
||||
CURLOPT_ENCODING => '',
|
||||
CURLOPT_MAXREDIRS => 10,
|
||||
@@ -19,7 +19,12 @@ public function index(Request $request): mixed
|
||||
CURLOPT_FOLLOWLOCATION => true,
|
||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||
CURLOPT_POSTFIELDS => '{ "idSeria": "I-AH", "idNo": "152304", "clientType": "recipient", "cardMaskNumber": "993403******8088", "expDate": "02/34", "fromDate" : "01.01.2020", "toDate" : "09.05.2025" }',
|
||||
CURLOPT_POSTFIELDS => '{
|
||||
"idSeria": "I-AH",
|
||||
"idNo": "152304",
|
||||
"cardMaskNumber": "993403******8088",
|
||||
"expDate": "02/34"
|
||||
}',
|
||||
CURLOPT_HTTPHEADER => [
|
||||
'Authorization: Basic dGJ1c2VyOlFBWndzeDEyMw==',
|
||||
'Content-Type: application/json',
|
||||
|
||||
Reference in new issue
Block a user