Cloudflare to send post requests to webhook

I have a webpage that is static, but I'd like to be able to take the users query params and send it to a discord webhook. I know I can send a request to the webhook on the frontend with js, but that gives the user access to the webhook, where they can spam it. I was wondering if there was a way to do it somehow on the backend with cloudflare, or if there is a way to secure the webhook and have it on the frontend I'm unaware of.

Thanks!
Was this page helpful?