m3 Security Fixes
This commit is contained in:
@@ -624,10 +624,10 @@ class CloseShipment extends Controller
|
||||
Helper::logToICM699M($data);
|
||||
|
||||
$response = Http::withHeaders([
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
'Connection' => 'close',
|
||||
])
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
'Connection' => 'close',
|
||||
])
|
||||
->withToken($token)
|
||||
->withBody($JSONCS, 'application/json')
|
||||
->timeout(Config::get('arrays.curlTimeOut'))
|
||||
@@ -848,10 +848,10 @@ class CloseShipment extends Controller
|
||||
Helper::logToICM699M($data);
|
||||
|
||||
$response = Http::withHeaders([
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
'Connection' => 'close',
|
||||
])
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
'Connection' => 'close',
|
||||
])
|
||||
->withToken($token)
|
||||
->withBody($JSONCS, 'application/json')
|
||||
->timeout(Config::get('arrays.curlTimeOut'))
|
||||
|
||||
@@ -83,9 +83,9 @@ class ReplenAPI extends Controller
|
||||
$token = $IonToken;
|
||||
|
||||
$response = Http::withHeaders([
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
])
|
||||
'accept' => 'application/json',
|
||||
'Content-Type' => 'application/json',
|
||||
])
|
||||
->withToken($token)
|
||||
->withBody($JSON, 'application/json')
|
||||
->timeout(Config::get('arrays.curlTimeOut'))
|
||||
|
||||
Reference in New Issue
Block a user