Laravel / January 09, 2014

RESTful deleting in Laravel

Restfull deleting in Laravel can make newcomers to RESTful APIs scratch their head a bit. I know, cause I’m one of them. We’re used to just have a simple link pointing to a certain URI where the magic happens, but how do we set the HTTP verb if we’re not submitting any form?

Elena created a simple macro for building delete links with jQuery confirmation in Laravel. I love tips like these.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.