Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 26, 2019 16:34
Show Gist options
  • Save parzibyte/2d406cee65aa2707740f1eb117330825 to your computer and use it in GitHub Desktop.
Save parzibyte/2d406cee65aa2707740f1eb117330825 to your computer and use it in GitHub Desktop.
<?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