mercredi 9 novembre 2016

How to Login/Register user with Dingo API along with laravel5

Guys how can i authenticate Login/Register User with dingo API for laravel5.

I am using following routes for it,But unable to get it right.

$api->get('logout', 'App\Http\Controllers\Auth\AuthController@logout');

$api->post('auth/login', 'App\Http\Controllers\Auth\AuthController@login');

This is the API i am using for. https://github.com/dingo/api.

Note: This works fine with get request.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire