Invoke Asp.Net Web API PUT Method using Fiddler Tool

We have created the Asp.Net Web API PUT method to update the resource in my previous article. Here we discuss how to invoke that method by using Fiddler Tool.

Run the API and open the Fiddler Tool. Change the HTTP method to PUT and change the URL to updateemployee API method, as shown below.

Here we have given the employee object in JSON format, including Id. API PUT method updateemployee updates the employee data based on the employee Id only. Now click on the Execute button; it produces the status code as 200 (HttpStatusCode.OK) on success as below. Double click on 200 status code line, and it displays the result as Success on JSON tab.

Add comment