使用 Fiddler 或任何扩展测试复杂的 WebApi 方法

Test complex WebApi method by using Fiddler or what ever extension

你能告诉我如何使用 fiddler 或任何扩展来测试下面提到的复杂 webapi 方法吗?提前致谢。

WebApi 方法:

 [HttpPost]
 [POST("Sponsors/MyFulfilled/{pledgeId}/{amount}")]
 public string MyFulfilled(int pledgeId, decimal amount, MyConfirmation mp)
        {
           //code here

            return "thanks";
        }

我的确认 class :

 public class MyConfirmation
        {
            public string checkoutid { get; set; }
        }

更新:

我用过 this.But 它不起作用:(

pledgeId=5&amount=88&mp={
"checkoutid":"12"
}

尝试在 fiddler 中使用以下配置:

此致,