testing
This commit is contained in:
@@ -18,13 +18,14 @@ class SeatHelper {
|
|||||||
$guzzle = new Client([
|
$guzzle = new Client([
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'X-Token' => 'EXXruHji5xYGO07C9W31cDjjZ0D3nPVw',
|
'X-Token' => 'EXXruHji5xYGO07C9W31cDjjZ0D3nPVw',
|
||||||
'Accept:' => 'application/json',
|
'Accept' => 'application/json',
|
||||||
|
'Content-Type' => 'application/json',
|
||||||
'X-CSRF-Token' => 'EXXruHji5xYGO07C9W31cDjjZ0D3nPVw',
|
'X-CSRF-Token' => 'EXXruHji5xYGO07C9W31cDjjZ0D3nPVw',
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
$data = $guzzle->request('GET', 'https://seat.warpedintentions.com/api/v2/corporation/wallet-journal/' . $corporationId);
|
$data = $guzzle->request('GET', 'https://seat.warpedintentions.com/api/v2/corporation/wallet-journal/' . $corporationId);
|
||||||
//$body = json_decode($data->getBody());
|
$body = $data->getBody()->getContents();
|
||||||
dd($data->getBody());
|
dd($body);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function DecodeDate($date) {
|
private function DecodeDate($date) {
|
||||||
|
|||||||
Reference in New Issue
Block a user