We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f94a7f commit bc4c2b3Copy full SHA for bc4c2b3
src/Middleware/ApiHeaderInject.php
@@ -12,7 +12,6 @@ public function handle($request, Closure $next)
12
if (config('laravel-api-generator.json_response')) {
13
$request->headers->add([
14
'Accept'=>'application/json',
15
- 'Content-Type'=>'application/json',
16
]);
17
}
18
if (config('laravel-api-generator.allow_cross_origin')) {
0 commit comments