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
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Project auto-blocked after load testing ...
Hi team 👋 My project has been automatically blocked with the message: "Project is currently blocked — Access to this project is restricted. Contact support if...