Back

Postman function call

  • 0
  • Web
  • Auth
  • Cloud
  • Functions
  • REST API
Md Ammar
8 Mar, 2025, 10:22

Hi I'm trying to call a locally running function, which requires auth, in headers I'm passing jwt token with key as 'x-appwrite-user-jwt", but upon logging req.headers I see "x-appwrite-user-jwt" as empty string, although other headers are coming fine. How do I fix this?

TL;DR
Developer is trying to call a locally running function with auth that requires a jwt token in headers. The "x-appwrite-user-jwt" key is showing as an empty string. Solution: Double-check the key name spelling and syntax to ensure proper formatting for the jwt token.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more