2020
10-21
10-21
C# 使用Fiddler捕获本地HttpClient发出的请求操作
示例接口定义为了方便笔者先自己写了个简单的接口用于展示,返回当前时间,具体如下///<summary>///GetToday.///</summary>///<returns></returns>[HttpGet][Route("GetTime/Today")]publicMyDateTimeGetToday(){varnow=DateTime.Now;returnnewMyDateTime{Year=now.Year,Month=now.Month,Day=now.Day,Hour=now.Hour,Minute=now.Minute,Second=now.Second,};}上面的MyDateT...
继续阅读 >