Server API/Server Routes: Get the response headers and cookies #426
Replies: 2 comments
-
UpdateI just realized something. This is due to the fact that probably devtools is using Is this correct? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried to get my hands dirty with the code to implement this but didn't know where to search, so I give up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Congratulations to the team for adding the server api feature like Postman. It's working great! 🔥🤯🤝🎉
I want to ask about (or request) the ability to see the Response headers and cookies.
For example, I have
/api/auth/login
and I get the response body, but I can't see the session cookie (h3=someidstring
with h3's useSession orconnect.sid=someidstring
with express-session) so I can pass it to/api/auth/profile
and get the user from the session.Beta Was this translation helpful? Give feedback.
All reactions