1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 22:52:32 +01:00
flox/backend/routes/api.php
Tim Meier ab56720200 Use user credentials for http basic and change auth for import/export… (#72)
* Use user credentials for http basic and change auth for import/export api to use http basic auth

* refactor
2017-04-18 08:50:09 +02:00

10 lines
329 B
PHP

<?php
Route::group(['middleware' => 'auth.basic'], function() {
Route::patch('/update-files', 'FileParserController@receive');
Route::post('/import', 'ExportImportController@import');
Route::get('/export', 'ExportImportController@export');
});
Route::get('/last-fetched', 'FileParserController@lastFetched');