home/autoph/public_html/projects/api/routes/api_barcode.php000064400000001412150247575630020176 0ustar00 '/v1'], function () { Router::group(['prefix' => '/barcode'], function () { Router::group(['middleware' => \App\Middlewares\ApiVerification::class], function () { Router::match(['get', 'post'], '/', 'BarCodeController@generate')->setName('barcode'); }); Router::match(['get', 'post'], '/help', function () { $response['parameters'] = array( 'key' => array('required' => true, 'value' => 'string'), 'data' => array('required' => true, 'value' => 'string'), 'filename' => array('required' => false, 'value' => 'string'), ); response()->json($response); })->setName('barcode.help'); }); });