eddyizm
CDCloudflare Developers
•Created by eddyizm on 7/5/2024 in #general-help
Turnstile/fastapi
Hi All,
I have a small api built with fastapi and I am generating a few html pages for a front end directly using jinja templates. Trying to piece together how I would enable turnstile for a contact form before I publish it.
Seems like I need the front end portion on the client side to send to the backend on the form post, but that is where the docs seem a little confusing. Any examples or guidance apprecated or possibly point me to the correct docs. I may have missed it.
EDIT: Maybe this is best handled via a worker?
3 replies