Home > Software engineering >  Consult how to get a website URL and parameters
Consult how to get a website URL and parameters

Time:10-01

First time to use VBA to access WEB related content, don't know the title description is correct also please understanding,
The younger brother of the problem is, want to use in the VBA WINHTTP, passed the certification of the target site, and download the required files,
The WINHTTP use generally clear, now encountered a problem, is the POST or GET a URL, the URL on the parameters of the user name and password don't know how to configure, how can I GET to be able to use in the WINHTTP URL?

Such as CSDN URL is https://passport.csdn.net/ajax/accounthandler.ashx? T=log& U="& amp; InterID & amp; "& amp; P="& amp; "

The URL above is my search in the jar, I tried to through the authentication, excuse me the URL and parameters is how to learn, through what tool to check which one can see,
The content of the first contact HTTP, really shame, hope everybody can glad,

CodePudding user response:

Supply the following, I need to access the website is HTTPS

CodePudding user response:

Using caught software such as wireshark?

CodePudding user response:

The to zhao4zhong1

Wireshark, I've never used a try the, I didn't catch https://passport.csdn.net/ajax/accounthandler.ashx? use HTTP analyzer caught T=log& U="& amp; InterID & amp; "& amp; P="& amp; "This information, can only see https://passport.csdn.net/account/login? from=http://my.csdn.net/my/mycsdn, thank you for your reply

CodePudding user response:

You need this, use the new browser's own debugging is enough, such as firebug in firefox, and such as Internet explorer 9 after bringing the chrome has a similar system

CodePudding user response:

Fiddler useful,
  •  Tags:  
  • VBA
  • Related