Files
oficial/app/resources/routes/api/proyectos/brokers.php

13 lines
401 B
PHP
Raw Normal View History

<?php
use Incoviba\Controller\API\Proyectos\Brokers;
$app->group('/brokers', function($app) {
$app->post('/add[/]', Brokers::class . ':add');
$app->post('/edit[/]', Brokers::class . ':edit');
$app->get('[/]', Brokers::class);
});
$app->group('/broker/{broker_rut}', function($app) {
$app->delete('[/]', Brokers::class . ':delete');
$app->get('[/]', Brokers::class . ':show');
});