Skip to content
Advertisement

Redirect 302 on Laravel POST request

I’m developing a Laravel Web Service. When I try my POST routes with web forms, everything works fine, but when I try the same with a REST Client like Postman it doesn’t get me the response that should.

It gives me status code 302, and redirects to “/”. What’s the problem?

Advertisement

Answer

it looks like in postman you should point that the data you send is ‘x-www-url-formurlencoded’

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement