Answer the question
In order to leave comments, you need to log in
How to deal with the request to the server for authorization?
You need to get some data from the site in a Java program, but for this you need to go through authorization. Advised where to start. You need to look at what is sent to the server during authorization in the browser and repeat the same programmatically. Only a GET request is sent to the server, I still do not understand what to do with it. And in response - the code of the authorized page is transmitted, but if cookies are needed, how to get them, what is generally transmitted to the server?
Answer the question
In order to leave comments, you need to log in
Apache has libs to deal with HTTP connections. Try to use. Apache HTTP Components
You have a request in the screenshot clearly after authorization. Usually authorization is transferred by POST-request.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question