Skip to content

What is the proper way to use Astro with HTMX Delete requests? #6159

Closed Answered by ff6347
ff6347 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay. Sorry. I just changed it to response code 200 and it works fine with no reload of the page and the li elements are swapped. Also https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE states that 204 is with no reponse and 200 with so everything is as it should be.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ff6347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant