I'm learning to use Laravel as API Rest and I've been testing postman on a route that returns a string, but I can not find an error. Return not found.
Address: link
<?php
use Illuminate\Http\Request;
Route::group(['prefix' => 'api'], function()
{
Route::group(['prefix' => 'ponto'], function()
{
Route::get('/', function()
{
return 'Teste';
});
});
});
Resolution: I just did not know it was default to put / api to Rest.