# How To Avoid Redirection in Laravel with the Correct Accept Header in POST Requests

> In Laravel, if you make a POST request, to a store action that injects a FormRequest, via Postman and you don't specify the correct Accept header, Laravel…

- URL: https://graffino.com/til/how-to-avoid-redirection-in-laravel-with-the-correct-accept-header-in-post-requests
- Author: Nick Ciolpan
- Channel: command-line
- Published: 2023-02-03
- Updated: 2026-09-03

In Laravel, if you make a POST request, to a store action that injects a FormRequest, via Postman and you don't specify the correct ```Accept``` header, Laravel will redirect. By default, the generic ```*/*``` header is used, which will not prevent redirection. You must explicitly change it to ```application/json```.
