Bellots Bellots - 1 month ago 11
PHP Question

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?

Answer

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

Comments