Skip to content

Cookie-based authentication #159

Answered by warmuuh
savornicesei asked this question in Q&A
Discussion options

You must be logged in to vote

as cookies are simply headers, it works similar. you need to search for the right cookie in milman.response.header.entries (array of {key:.., value:..} objects). after your login-call, you have to look for the Set-Cookie header and parse the value.

when sending an authenticated request, you can set the Cookie header accordingly then

there is no extra support for cookies though (yet? ;))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by warmuuh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants