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
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?