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

23/01/2024 5 min Temporada 1 Episodio 7
The basics: hx-put, hx-patch, and hx-delete

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

Episode Synopsis


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">