I need to add custom headers like "X-Include". I have extended code after this line
|
$httpRequest = $this->requestFactory->createRequest($request->method(), $request->uri()); |
foreach($request->headers()->all() as $header => $value) {
$httpRequest = $httpRequest->withHeader($header, $value);
}
I need to add custom headers like "X-Include". I have extended code after this line
JSON-API-Client/src/JsonApiClient.php
Line 139 in 5769305