ginnOriginal post
Web Developer
I am currently evaluating AppWrite for a small personal project and I ran into a issue with the REST API.
I am using an HTTP client to evaluate the functionality but the docs seem to be incomplete. I created a user through the dashboard and can successfully log in. A request to /account/sessions/email returns a session token but all endpoints expect a JWT and I can't seem to find any documentation on how to get a JWT on the client-side. If I am not mistaken the /account/jwt endpoint is meant to be used with edge functions.
Summary
Issue with using REST API via HTTP client for AppWrite. Successfully logged in but endpoints require JWT, docs lack info on client-side JWT. `/account/jwt` endpoint for edge functions.