Hi, I want to set a custom header and read that in appwrite function. Currently i tried setting a header in postman but in the appwrite function req.headers returns {}
you can't do that with functions at the moment. all data passed in should be passed as part of the data parameter: https://appwrite.io/docs/client/functions?sdk=web-default#functionsCreateExecution
So req.headers doesn't have any purpose?
Recommended threads
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...