dpwtr666638 2015-05-18 07:42
浏览 916
已采纳

在Laravel POST请求上重定向302

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?

  • 写回答

5条回答 默认 最新

  • duaeim2874 2015-05-18 08:17
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?