https://supertokens.com/ logo
Title
j

JustDante

10/12/2022, 3:57 PM
Hi, whats the correct way to call an API from lets say Postman. If i understand correctly, i need to use rid header with emailpassword value(im using emailpassword auth) and Authorization Bearer sAccessToken? Or do i explicitly need to call the signin endpoint first and then use the cookie value? Is it not possible to login on the browser, and then just use the accessToken in request?
n

nkshah2

10/12/2022, 3:58 PM
j

JustDante

10/12/2022, 3:59 PM
Yeah already looked at it, but i see only one case - using signin endpoint first and then using cookie value on another requests.
Is it not possible to explicitly input accessToken in the header?
n

nkshah2

10/12/2022, 3:59 PM
The API uses cookies and not headers so no that would not be possible
j

JustDante

10/12/2022, 4:00 PM
Oh okay, thanks