Support the ongoing development of Laravel.io →
Authentication Requests
Last updated 1 year ago.
0

ezos86 said:

I would like to make the built in Auth that comes in Laravel 5 into an API Auth based system. Anyone have any pointers on this, I been hacking around with it, but no exact luck yet. I watched through the laracasts, but most of them use tinker for the object insertion vs a POST/api method.

I have been able to add a new route that feeds into the database as an API, not sure if it's as fancy as the one that came with it, I am using the basic method of Store(). I have another question that is involved with Error handling from the standpoint basic methods for a

Route::resource(x,x);

such as store() - I would like the api to return the error type and message for those trying to use the api.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ezos86 ezos86 Joined 13 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.