Back

Can a cron triggered function have a default method and set of query params?

  • 0
  • Functions
ewic
20 Mar, 2024, 06:16

I want a function to be triggered by cron every 24 hours. But I want to give it some query params and change the method to POST. The params don't have to be dynamic but are necessary for the function. Is this possible?

TL;DR
Developers want to trigger a function with cron every 24 hours, but need to set predefined query params and change the method to POST. This can be achieved by specifying the default method and query params within the cron configuration.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more