How do I use JWT token with postgrest-js?

I need to use a JWT token to connect to PostgREST in an authenticated state. how do I specify the JWT token when using postgrest-js?
Was this page helpful?