-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Hi,
I'm building an app using HTMX that leverages HTMX & the DELETE HTTP request method. I'm passing the csrf token to my backend, for example:
<a href="#" hx-delete="/user/1" hx-vals='{"csrf_token": "AGVpyLkjmMpD9UboB+ybDxGSESY+kFWlwLhyxCCz99WgQAmaHLt/jd4ygvuJLMLnU6bHNbrjhhQMgCzqMDQ5Xg=="}'>Delete</a>But I'm receiving a 400 response from nosurf. There's no issue if I flip the method to GET or POST.
Can anyone offer any suggestions as to how to make nosurf work with DELETE?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels