We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode The basics: hx-put, hx-patch, and hx-delete

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

2024/1/23
logo of podcast hx-pod

hx-pod

Shownotes Transcript

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