Reputation: 630
Hi I am using phpdesktop-chrome-57-php-7.13-rc and facing some very weired issues with Laravel and raw php.
On every error status code it is returning, 200 have a look
its a simple Laravel Login the result status code should be 422 but it is showing 200 but in Response Headers it's showing the correct information.
In request Headers, it always shows Provisional Headers are shown and there is no response data.
Please help me fixing this issue
Tried everything by returning headers in response, response with only error code etc, but no luck. Even when exception came the result remain same.
Have a look to my code
return response(["Unable to Process Command"],422);
Upvotes: 0
Views: 333