PLAY PODCASTS
The basics: hx-put, hx-patch, and hx-delete
Season 1 · Episode 7

The basics: hx-put, hx-patch, and hx-delete

hx-pod

January 23, 20245m 13s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

What on earth are PUT PATCH and DELETE and why would I use them instead of POST?

Well, which do you like better?
A) <button hx-delete="/articles/1">
B) <button hx-post="/articles/1/delete">

Topics

htmx javascript programming laravel livewire minimalism coding html simplicity