fiddler HTTPMethod (GET/PUT/POST/DELETE...) Column

16,860

Solution 1

Edit your rules, then in the class Handlers add:

public static BindUIColumn("Method", 60)
    function FillMethodColumn(oS: Session){

        return oS.oRequest.headers.HTTPMethod; 
    }

Solution 2

There's an easier way now (as of v4.4.5.1 or earlier).

Right-click the column bar and select Customize columns....

Collection: Miscellaneous
Field Name: RequestMethod
Screenshot of Customize Columns dialog box

Result:
Screenshot of new created column

Share:
16,860
thamster
Author by

thamster

Updated on June 23, 2022

Comments

  • thamster
    thamster almost 2 years

    Is there an easy way to add an HTTPMethod (GET/PUT/POST/DELETE...) column to the fiddler display?

    Found these instructions on the fiddler wiki for adding session variables:

    cols add "Client IP Address" X-CLIENTIP

    But HTTPMethod doesn't seem to be as easy.

    Anybody know a way to do this or have a good fiddler script?

  • misaxi
    misaxi almost 10 years
    this is more intuitive
  • Cerbrus
    Cerbrus almost 9 years
    Don't you mean "or later"? Any way, +1.
  • Matthias
    Matthias almost 9 years
    No, I did mean or earlier. Basically it works on this version, and I'm not sure how many versions ago it was added. haha
  • LinuxDisciple
    LinuxDisciple over 6 years
    Note that if you add this to a running session, Fiddler won't go back and populate this column for existing transactions (adding a column doesn't cause Fiddler to re-parse data that it already rendered). If you export those sessions to a .saz file and reimport them then Fiddler with re-render that data and populate the new column. I mention this because I added this column in an instance of Fiddler where I had already captured data, and was initially confused upon seeing an empty "Method" column.