I was developing a C# httpwebrequest to receive logged in session values and other return values by sending ID and PW values encoded as links in the https protocol.
If log-in succeed, a specific cookie will be returned.
However, no matter what I did with C# httpwebrequest, the cookie was not returned. Even with python requests, there was no return too.
When compared to the chrome browser networks records, the sent contents and header were correct.
After that using java httpsurlconnection
request POST method with the same header and content using the link above
Login was successful as the login was completed properly and a specific cookie was returned.
I’m happy, but after succeeding with java httpsurlconnection
Did my firewall or some system settings change?
Even if I try again with C# httpwebrequest and python requests, which did not work, I can log in just fine… why..
I tried to research why it didn’t work, but I was embarrassed.
How does java httpsurlconnection affect my computer?
i can’t speak english very well.. thank you to read.
By sending a post request, I am trying to receive a specific cookie returned when login is completed.
I’ve been working with c# httpwebrequest, python requests but not getting the results I want.
Finally, let’s work with java httpsurlconnection and get the desired result.
김이정 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.