Fiddler Extension – Request to Code

Fiddler Extension – Request To Code


This Fiddler extension generates C# or VB.NET code to duplicate a web request.  You simply drag one or more Fiddler sessions into the newly created “Code” tab and the extension will produce appropriate code that you can copy and paste into your program that reproduces those requests.

This can be useful for a number of purposes:

  • Submit form data programmatically – fill out a form online once with Fiddler running, then use the extension to copy and paste the request code into your own program.  You could then make this request as many times and as often as you need to.
  • Easily codify web requests – request resources like RSS feeds, images, XML, etc… from your program.  Further modify the web requests to your needs.
  • Programmatically test differing header values – you can easily modify the request functions so that you can try varying values for various HTTP headers.  This way you can test your web site or web service against these various headers.

Download: Fiddler Extension – Request To Code (version 1.1, 13.3 kb zipped)

To Install:

  1. Unzip the download into your Fiddler2/Scripts folder.
  2. You’ll need to restart Fiddler if it’s already running.

Questions/Comments – Please post on this Fiddler Google Group Discussion.
Read the Changelog.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>