
Hi there. I would like to call a function in the cloud via postrman with a users only permission but I get user_unauthorized. Cookies are not applying to the invocation cuz the function comes with a different domain name. I tried to use X-Appwrite-JWT I generated via v1/account/jwt however it doesn't help.
How can I invoke a function as a loggined user via postman? Thanks

What headers did you use for setting cookies? How did you access the cookies?

@darShan Thanks for the quick answering,
Here's a header I've been using for my cloud function calling
Cookie: a_session_[redacted]_legacy=[redacted];a_session_[redacted]=[redacted]

P.S. X-Appwrite-Project has been set as well
Recommended threads
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
- Subject: Function req.body Empty Despite...
Hi Appwrite Support Team, I'm encountering a persistent issue where my Appwrite function is receiving an empty req.body, even though my cURL requests successfu...
- Error setting postman body
Good evening, anyone has an idea on how to pass body to appwrite function using postman? this is how I've passed it : { "providerName": "adamu" } and I ke...
