I am creating Post rest API but not working route in the postman showing error how can i solve the error ?? Only Get API working properly in la-ravel
enter image description here
i'm using jwt with driver table for authentication when i try to login it gives me invalid credentials error 400 please does anyone face this type of errors.i'm using laravel 5.8 version
i did something in laravel project coz of which i am getting this type of validatoin message.
How to fix it.?
I am new to laravel. I tried using Laravel Passport for API Authentication.
Everything is going correct, but when i am using view component to add clients using UI, it`s showing ERROR "Request faild with Error 404".
Regards.
Code
Browser UI and Console
I'm trying to implement token based authentication in laravel 5.2. I'm following this blog to implement. After doing all the things, when I'm going to test, I got 500 error. On debugging the code, I found that jwt calls a function (once($credentials)) in vendor/tymon/jwt-auth/src/Providers/Auth/IlluminateAuthAdapter.php file. And once() function is not defined in any file of jwt-auth package. If anyone have faced same problem before and knows the solution, it will be appreciated.