i.wont.tell
CDCloudflare Developers
•Created by i.wont.tell on 4/15/2024 in #general-help
How to reset turnstile widget?
thank you! this is why I was seeing the error message for a few seconds and then it was gone
3 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/15/2024 in #general-help
How to reset turnstile widget?
so should I not be assigning any function? I currently have it like this:
3 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/8/2024 in #general-help
Problem(?) with the turnstile widget
ooh thank you, I thought I misconfigured something
5 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/4/2024 in #workers-help
How to write python workers?
no, it's javascript, I ended up using it because I already had the logic there and only the env var retrieving was missing and just learned that I can only access env vars from functions and not from say a Vue component.
I have figured out what I was doing wrong. onRequestPost receives a
context
object, I have to access request
and env
from there with context.request
and so on.8 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/4/2024 in #workers-help
How to write python workers?
I don't understand what I'm doing wrong, I'm following the docs, here https://developers.cloudflare.com/pages/functions/api-reference/ it says that onRequestPost does receive the request and env objects so my code should be working, right?
8 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/4/2024 in #workers-help
How to write python workers?
8 replies
CDCloudflare Developers
•Created by i.wont.tell on 4/4/2024 in #workers-help
How to write python workers?
this is the function where the exception happens:
8 replies