文件名称:RestSharp.dll
文件大小:187KB
文件格式:DLL
更新时间:2021-10-16 20:45:29
Rest http请求 工具类
C#版本发送http请求的dll,调用方法: var client = new RestClient(url); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AlwaysMultipartFormData = true; request.AddParameter("format", "JSON"); request.AddParameter("param", param); IRestResponse response = client.Execute(request); logger.info("返回信息:{}",response.Content);