dpwtr666638 2015-05-17 23:42
浏览 915
已采纳

在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 00:17
    关注

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

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

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部