Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getListById($id)
- {
- $user = DB::table('dbTestes')->where('id', $id)->get();
- return response()->json($user);
- }
- //Api route
- Route::get('/ponto/edit/{id}', 'PontoController@getListById');
Add Comment
Please, Sign In to add comment