Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

asheshbh11's avatar

Laravel prepends the request body with response

I am using php-8.2-fpm and laravel 10.48.29 in a container. When container is active for some day (1-2), it starts prepending the request body with the response.

Request body: { "email": "[email protected]", "password": "password" }

Response: { "email": "[email protected]", "password": "password" } { "access_token": "xxxxxxxxxx", "refresh_token": "xxxxxxxxxx" }

Expected Response: { "access_token": "xxxxxxxxxx", "refresh_token": "xxxxxxxxxx" }

0 likes
0 replies

Please or to participate in this conversation.