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
- edge-tts seems not work with Functions
I create a simple function using edge-tts to generate mp3 from text. It works fine in my local but when deploying to AppWrite, I got the error: Creating Communi...
- The Functions cannot change the Git repo...
When I changed the Git repository(because my github account has been suspended), it didn't work. Please help me ,Thanks so much!
- bulkUpsert and Realtime
Hey when I use Realtime on a Table for creates/updates and use the createOperations method in my Appwrite Function for bulk upserts, will the realtime trigger f...