My header in the postman like this :
My body like this :
In the routes laravel lumen, I check like this :
$router->group(['middleware' => 'auth'], function ($router) {
...
$router->post('/sales-order', function (\Illuminate\Http\Request $request)
{
echo '<pre>';print_r($request->all());echo '</pre>';die();
});
});
The result in the postman return empty array like this :
How can I solve the error?