I
I
Ivan13312020-04-16 11:07:16
Java
Ivan1331, 2020-04-16 11:07:16

Display the contents of the main page using the httpURLConnection method?

I have a task: Determine if the site with the given address is, if it is - display the content of the main page. Use explicitly the GET method. How to get a page using the httpURLConnection method, or mb somehow differently. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question