kdevOriginal post
Rank 1: Thread
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
Summary
Issue: Developer unable to call a cloud function using Postman, getting 'user_unauthorized' error due to cookies not applying to cross-domain function invocation.
Solution: Use X-Appwrite-JWT generated via v1/account/jwt in Postman headers to authenticate and invoke the function as a logged-in user.