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
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...