Skip to content

Instantly share code, notes, and snippets.

@kittolau
Last active August 29, 2015 14:20
Show Gist options
  • Save kittolau/938ddfca443f3f643de1 to your computer and use it in GitHub Desktop.
Save kittolau/938ddfca443f3f643de1 to your computer and use it in GitHub Desktop.
Fiddler related stuff
#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
#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