ctr_159227
Jul 27, 2016Historic F5 Account
Get html code of an BIG-IP page through curl/code
Hello Folks
Greetings I am looking for info on how i can get/access html content of an BIG-IP page using curl or code. When i tried to access in curl using it shows http code 302 (Redirection error for login). Is there way to pass auth info in the request when trying to access page.
In browser, when i am logged in i can access below page content, but i would to do it through curl or code. In browser, ui session seems to be passing these cookie info (BIGIPAuthCookie=sdfsdfsd; BIGIPAuthUsernameCookie=admin), but not sure how to create this through code.
shell curl -k -u admin:admin https://10.xxx.xxx.xx/sam/admin/vpe2/public/php/supportTable.php
here</p>
Thanks