Laravel difference between resource.create and resource.store Laravel difference between resource.create and resource.store laravel laravel

Laravel difference between resource.create and resource.store


just a simple example. (oversimplification)

let's say you are writing a blog.

the GET request you are sending to get the form (where you will write the blog) is resource.create.

after finishing the writing, when you will submit and POST the content so that it gets saved in somewhere, it is resource.store

in your case,

registration form is resource.create.

saving the info (submitting the form) is resource.store.


resource.create shows the form for creating a new resource (front end only to show the form) and resource.store stores a newly created resource in storage (db interaction to store the data).