app/Http/Controllers/ApiAlunoController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return AlunosModel
     */
Store a newly created resource in storage.
@param  \Illuminate\Http\Request  $request
@return AlunosModel
Store a newly created resource in storage . @param \ Illuminate \ Http \ Request $request @return AlunosModel
public function store(Request $request)
    {
        $aluno = new AlunosModel($request->all());
        $aluno->save();
        return $aluno;
    }
public function store ( Request $ request ) { $ aluno = new AlunosModel ( $ request -> all ( ) ) ; $ aluno -> save ( ) ; return $ aluno ; }
Store a newly created resource in storage.
Store a newly created resource in storage .