skip to Main Content

Why is PUT method not allowed in Laravel?

Controller public function edit(Product $product) { return view('products_update', compact('product')); } public function edit(Product $product) { return view('products_update', compact('product')); } public function update(Request $request, $id) { $validatedData = $request->validate([ 'name' => 'required', 'desc' => 'required', 'price' => 'required|numeric', 'qty' => 'required',…

VIEW QUESTION
Back To Top
Search