You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Would it be possible to add contentType: application/vnd.api+json so this package would be compatible with https://laraveljsonapi.io/ as that package expects application/vnd.api+json
protected function guessFileExtension($response)
{
$contentType = $response->headers->get('Content-Type');
if ($response instanceof JsonResponse ||
$contentType == 'application/json' ||
$contentType == 'application/vnd.api+json' // <= would it be possible to add this line
) {
return 'json';
}
The text was updated successfully, but these errors were encountered:
Hi, Would it be possible to add contentType:
application/vnd.api+json
so this package would be compatible with https://laraveljsonapi.io/ as that package expectsapplication/vnd.api+json
The text was updated successfully, but these errors were encountered: