- throw 'bad verb' if no verb is given in oai -request

- handleGetRecord: break if no identifier is given
- handleGetRecord: break if no metadataPrefix is given
- allow post and get for oai requests
This commit is contained in:
Arno Kaimbacher 2020-07-15 17:37:27 +02:00
parent 64faf73564
commit 4a6c69100a
4 changed files with 23 additions and 6 deletions

View file

@ -14,7 +14,7 @@ use Illuminate\Support\Facades\Route;
//Auth::routes();
//Route::get('/home', 'HomeController@index')->name('home');
Route::get('/oai', ['as' => 'oai', 'uses' => 'Oai\RequestController@index']);
Route::match(array('GET','POST'), '/oai', ['as' => 'oai', 'uses' => 'Oai\RequestController@index']);
//Route::get('/', 'LocalizationController@index');
Route::get(