Add a media endpoint route

This commit is contained in:
Jonny Barnes 2017-03-07 18:47:29 +00:00
parent 206a64ed4b
commit 21cd718604
2 changed files with 39 additions and 0 deletions

View file

@ -115,6 +115,7 @@ Route::group(['domain' => config('url.longurl')], function () {
// Micropub Endpoint
Route::get('api/post', 'MicropubController@get');
Route::post('api/post', 'MicropubController@post');
Route::post('api/media', 'MicropubController@media');
//webmention
Route::get('webmention', 'WebMentionsController@get');