You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, it sounds like a server issue there.
If you look at the Network tab of your browser's dev tools, is the request formed as expected? Is the payload identical to the POST request or do they differ? I suppose you're including other values along your request to determine which user(s) to delete, hence the question.
Is you backend actually accepting the DELETE method here? And is it properly parsing the request's data?
Do you have logs in your server to determine where that bad request error was fired from?
Feel free to share screenshots so we can better help and identify the issue btw!
I use alpine js + htmx.
I have a button to delete selected users:
Using the POST method, everything is done as intended
But if I write the DELETE method, I get an error:
400 (Bad Request)
The text was updated successfully, but these errors were encountered: