@Moastafi74 said in load and show page using http client ?:
@Fox why doesn't load full page?
Open the console in the browser on the network tab and go to the page. You will see that multiple requests are used to load the page, not just one.
Hello everyone,
I now mainly work with the http client. Today I got a new challenge for which I have not found a solution yet.
Instead of displaying the code directly, this code is loaded first:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<form name="form" method="post" action="/us/password-reset/change/">
<input type="hidden" id="hash_token" name="hash_token" />
</form>
<script nonce="665927eed17b42d19b54755aa4baff67" type="text/javascript">
window.onload = function() {
document.form.hash_token.value = document.location.hash.slice(1);
document.form.submit();
}
</script>
</body>
How to deal with such obstacles in the http client?
Thanks in advance! :)
@spockthe40oz said in HTTP client GET response shows javascript instead of html source:
@basmail I am also having this same issue
In the browser, all these scripts are executed automatically, if you work with the site via the http-client, then you will have to execute these scripts manually.