|
@@ -13,6 +13,7 @@
|
|
|
|
|
|
Route::any('/request/heartbeat', 'Api\DeviceController@heartbeat');
|
|
|
Route::any('/request/addperson', 'Api\DeviceController@addperson');
|
|
|
+Route::any('/capture', 'Api\DeviceController@capture');
|
|
|
Route::get('/image/{filename}', function ($filename) {
|
|
|
$path = storage_path('app/public/' . $filename);
|
|
|
$path = $path.'.jpg';
|