简体   繁体   中英

How can I view the GET's, POST's, etc between my computer and a webserver

I'm working on making a client app for a website in Java that can be run from your desktop. With it I need to be able to login through a PHP script, so I would like to view the commands going back and forth when I do certain things on the website, so I can emulate them.

For the life of me I can't seem to find a program that will do this, and I don't know offhand of any either, so a point in the right direction would be nice

use firebug for firefox or the developer tools for chrome/safari.

They will show you the requests and xhrs that the site is using.

Fiddler is a great proxy. http://www.fiddler2.com/fiddler2/

You must look this sample code : link text if you would make an java http client project. This link explain how use http client of Apache.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM