Created
September 26, 2019 16:34
-
-
Save parzibyte/2d406cee65aa2707740f1eb117330825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
class UsuarioController extends Controller{ | |
public function nuevo(Request $request){ | |
$datos = $request->getContent(); | |
//Hacemos lo que sea con los datos, por ejemplo | |
//guardarlos en una base de datos | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment