Hello guys! I'm trying to test protected endpoints...
# support-questions-legacy
a
Hello guys! I'm trying to test protected endpoints using postman. Sign in request works well, I get status Ok and user data, but..no cookies are updated in the Postman itself..So my next request to the API gets "message": "unauthorised". Is there any setting that I need to set to allow cookies? Or should I downgrade to a specific version of Postman? (Postman for Mac Version 10.11.2)
r
hey! when calling the sign in API, set the
st-auth-mode
header in postman to
cookie
a
Thank you @rp_st it worked! My bad, I've missed it in the documentation: https://supertokens.com/docs/emailpassword/testing/testing-with-postman
7 Views