Get -> post

This commit is contained in:
JonatanRek 2020-05-24 19:42:03 +02:00
parent 0b9f7486df
commit e7858ac4a3

View File

@ -23,7 +23,7 @@ $router->get('/api/rooms/{roomId}/update', 'RoomsApi@update');
$router->get('/api/devices', 'DevicesApi@default');
$router->get('/api/widgets/{widgetId}/run', 'WidgetApi@run');
$router->post('/api/widgets/{widgetId}/run', 'WidgetApi@run');
$router->any('/api/HA/auth', 'Oauth');
$router->any('/api/HA', 'GoogleHomeApi@response');