skip to Main Content

Httpie command promt not working properly in Laravel

working in Laravel 10 project and I am going to insert phone number to table using following LoginController public function submit(Request $request) { $request->validate([ 'phone' => 'required|numeric|min:10' ]); $user = User::firstOrCreate([ 'phone' => $request->phone ]); if(!$user) { return response()->json(['message' =>…

VIEW QUESTION
Back To Top
Search