Error 403 when posting through htmx.ajax javascript API #220
Closed
ohmyohmyohmy
started this conversation in
General
Replies: 1 comment 2 replies
-
For regular htmx requests, the starter app sets the biff/starter/src/com/example/ui.clj Line 53 in 502a4f5 To do a request from JS, you'll probably first want to embed the value of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been trying to get htmx.ajax() to send a POST request from a custom javascript, but I keep getting an Error 403. No issues with GET. What do I need to include with the function to get this to work using the POST verb? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions