Browsers, at the time of this writing, only recognize GET
and POST
request types. No problem, though; we can get around this limitation by passing a hidden input along with our request that signals to Laravel which HTTP verb we actually want. Let's review the basic workflow in this episode.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.