Fiddler Fiddler show use of IP, Fiddler solution Chinese distortion analog transmission and Fiddler get / post request

Fiddler is an HTTP debugging proxy, by way of proxy, Http network data flow monitoring system is one of our common capture tool

Today is share with you a few tips to use Fiddler

A, Fiddler capture Chinese garbage problem

Solution:

1. Open windows registry, find  HKEY_CURRENT_USER\Software\Microsoft\Fiddler2

2. Right-click New blank in the right column, selected from the string value, plus HeaderEncoding, then the value of the input GBK (recommended for the UTF-8)

Tips:

HeaderEncoding recommended set is UTF-8, UTF-8 format because the use of the customary general character encoding format file, and if the GBK here, when a file (such as .html embodiment in UTF-8 character encoding) format is not GBK when, garbled prone. Therefore, it is recommended to set it to UTF-8 format. Then remember to restart to take effect Fiddler

Two, Fiddler method of setting the IP

As the web front-end development in multiple environments, require frequent replacement host, and after setting the host delays occur, how do you know which server IP domain name now points to it when access? Here by setting Fiddler on the packet capture tool, allowing the server to display the IP information request, the method is very simple.

Ctrl + R shortcut or menu -> Rules-> Customize Rules ...

Ctrl + F Find a string CustomRules.js file  to add a line of code to display the IPstatic function Main()

FiddlerObject.UI.lvSessions.AddBoundColumn("ServerIP", 120, "X-HostIP");

Figure


After editing save restart Fiddler, FIG.

Three, fiddler analog transmission get / post request (also can be a simple interface test)

1, analog get / post transmission request

(1) fiddler interface information and parameter setting post, click execute transmission request

 (2) fiddler get interface information and parameter settings, click execute transmission request

2, the transmission request is generated corresponding to a right side of a recording request, the right to view the selected request return result

Fiddler is a powerful capture tool, request and response parameters can crawl through Fiddler, by analyzing the parameters, you can discover and solve many problems.

Guess you like

Origin www.cnblogs.com/6J2B2/p/12074962.html