Skip to content

How do I get forms to POST when (with-csrf-token) is enabled? #105

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

You must be logged in to vote

You can use form-for or find the csrf-token and put that as a hidden input in your form defn

https://github.com/joy-framework/joy/blob/master/docs/form-submission.md#submitting-a-form-with-no-protection

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ohmyohmyohmy
Comment options

@swlkr
Comment options

Answer selected by ohmyohmyohmy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants