Articles → ASP .NET WEB API → Debug web API using fiddler

Debug web API using fiddler






Software requirement





Creating get and post method




public string Get()
{
    return "value";
}

[HttpPost]
public void Post()
{
            
}









Open fiddler








Picture showing the Composer tab where service URL and verb can be defined

Click to Enlarge





Picture showing the execute button in the fiddler

Click to Enlarge



Picture showing the break point hit for Get method in web API controller

Click to Enlarge



Picture showing the service calls recorded in fiddler

Click to Enlarge





Picture showing the request and response header in fiddler

Click to Enlarge






Posted By  -  Karan Gupta
 
Posted On  -  Saturday, January 30, 2016

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250