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()
{
}
- Get method is returning a hard coded value ‘value’.
- Post method does not have anything inside it.
Open Fiddler
- Run the application using visual studio and run fiddler.
- Go to Composer tab (See the following figure)
Click to Enlarge
- Select the ‘Get’ verb and enter the URL.
- Now click on ‘Execute’ button on the right-hand side (See the following figure)
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge