
hypermedia radio
The basics: hx-post
8 min•17 januari 2024
Om avsnittet
Want to use POST requests in ajax, and submit forms from anywhere on the page?
As promised in the episode, here are three ways to set up your CSRF token headers:
1. Like normal in your forms:
(the regular html way works with htmx, of course)
2. Javascript
(add this to the bottom of your
Fler avsnitt
Visa alla avsnitt av hypermedia radiohypermedia radio med Lazarus finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.