I'm trying to download the content of a webpage with this code, but it does not get the same as Firefox.
URL url = new URL("https://jumpseller.cl/support/webpayplus/");
InputStream is = url.openStream();
Files.copy(is, Paths.get("/tmp/asdfasdf"), StandardCopyOption.REPLACE_EXISTING);
When I check /tmp/asdfasdf
it is not the html source code of the page, but just bytes (no text). But still, in Firefox I can see the webpage and its source code
How can I get the real webpage?