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.
2 parents 5f94a7f + bc4c2b3 commit 6d4711eCopy full SHA for 6d4711e
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