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
- Unable to connect the git repo with appw...
I am trying to connect my existing repo with the appwrite functions. I have 2 functions in the same repo, and i was able to execute those through cli and its vi...
- Creating a function on appwrite Cloud.
I am trying to create a function on Appwrite cloud. I go to the console. I hit : Create function I choose DART-3.5 I put a name for my function : NameFunction...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...