Last active
August 29, 2015 14:20
-
-
Save kittolau/938ddfca443f3f643de1 to your computer and use it in GitHub Desktop.
Fiddler related stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#request header | |
Content-type: application/x-www-form-urlencoded | |
User-Agent: Fiddler | |
Host: localhost:13000 | |
Content-Length: 84 | |
#Request Body | |
title="aaabbb"&post_images_attributes[0][_destroy]=1&post_images_attributes[0][id]=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Tool -> Fiddler Options -> Connection allow all remote computers to connect | |
#Rules -> Customs Rules -> Add following line to OnBeforeRequest() | |
# 10.41.4.45:8888 is the hostname and port, while localhost:13000 is localhost and port | |
if (oSession.host.toLowerCase() == "10.41.4.45:8888") oSession.host = "localhost:13000"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment