Skip to content

Commit 6d4711e

Browse files
authored
Merge pull request #7 from dipeshsukhia/master
form data not abble to process
2 parents 5f94a7f + bc4c2b3 commit 6d4711e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Middleware/ApiHeaderInject.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public function handle($request, Closure $next)
1212
if (config('laravel-api-generator.json_response')) {
1313
$request->headers->add([
1414
'Accept'=>'application/json',
15-
'Content-Type'=>'application/json',
1615
]);
1716
}
1817
if (config('laravel-api-generator.allow_cross_origin')) {

0 commit comments

Comments
 (0)