mivita/routes/api.php
2019-03-04 17:05:44 +01:00

29 lines
797 B
PHP
Executable file

<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
//Route::post('login', 'API\UserController@login');
//Route::post('register', 'API\UserController@register');
Route::get('/payment/status', 'Api\PayoneController@paymentStatus')->name('api.payment_status');
Route::post('/payment/status', 'Api\PayoneController@paymentStatus')->name('api.payment_status');
Route::group(['middleware' => 'auth:api'], function(){
});