Different ways to get the sessionId for a custom API call
I need to attach the Bearer authorization header to a custom API call.
I am currently getting the
If I'm not mistaken there was an endpoint to fetch the sessionId from the backend? What is the call/endpoint again?
I am currently getting the
wasp:sessionId from localstorage, which is not ideal.If I'm not mistaken there was an endpoint to fetch the sessionId from the backend? What is the call/endpoint again?