JSON-API-Client
JSON-API-Client copied to clipboard
Abstract client-side php implementation of the json api specification (jsonapi.org)
Bumps [nyholm/psr7](https://github.com/Nyholm/psr7) from 1.2.0 to 1.6.1. Release notes Sourced from nyholm/psr7's releases. Release 1.6.1 Security fix for header validation. See https://github.com/Nyholm/psr7/security/advisories/GHSA-wjfc-pgfp-pv9c What's Changed See change log for changes. What's Changed...
I need to add custom headers like "X-Include". I have extended code after this line https://github.com/eosnewmedia/JSON-API-Client/blob/5769305158d7f4d50bb40213759b914b843d095b/src/JsonApiClient.php#L139 foreach($request->headers()->all() as $header => $value) { $httpRequest = $httpRequest->withHeader($header, $value); }