Getting HTML from a page behind a login

前端 未结 8 2004
甜味超标
甜味超标 2021-01-16 05:59

This question is a follow up to my previous question about getting the HTML from an ASPX page. I decided to try using the webclient object, but the problem is that I get the

8条回答
  •  猫巷女王i
    2021-01-16 06:41

    Well does opening the page in a brower with "Login.aspx?UserName=&Password=" normaly work?
    Some pages may not allow login using data provided in the url, and that it must be entered in the login form on the page and then submitted.

提交回复
热议问题