wip
This commit is contained in:
22
app/Http/Controllers/FetchCardHistoryController.php
Normal file
22
app/Http/Controllers/FetchCardHistoryController.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
|
||||
class FetchCardHistoryController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$response = Http::withBody('{
|
||||
"idSeria": "I-AS",
|
||||
"idNo": "314567",
|
||||
"clientType":"recipient",
|
||||
"cardMaskNumber":"993403******3258",
|
||||
"expDate": "07/49"
|
||||
}')->acceptJson()->post('http://10.3.158.102:9999/api/clientinfo');
|
||||
|
||||
return $response->body();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user