I am getting error when I use poster to post in laravel 5.1 project but it work right with form by using method post
Asked
Active
Viewed 68 times
0
-
It returns a 500 error, but if you look at the error returned which is most likely in that textarea starting at ` ` then it should tell you what the problem is. – Matt Feb 03 '16 at 07:36
-
I wouldn't suggest disabling it, just add it to your request ;). – Matt Feb 03 '16 at 07:40
-
ans: to use poster to post in laravel 5.1 you have to first disable csrf_token protection for that route. You can exclude routes which should not have CSRF protection in the VerifyCsrfToken middleware like this: class VerifyCsrfToken extends BaseVerifier { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ 't', ]; } ref=http://stackoverflow.com/questions/35137768/how-to-use-postman-for-laravel-post-request – King Feb 03 '16 at 08:08