restClient http请求

2021-01-20 12:13

阅读:488

标签:add   param   valve   api   请求   method   uri   res   string   

var client = new RestClient(Config.ManagementUri);
var request = new RestRequest("api/PushValve", Method.GET);
request.AddParameter("meterAddr","meteraddr的参数值",ParameterType.QueryString);
var response = client.Get(request);

restClient http请求

标签:add   param   valve   api   请求   method   uri   res   string   

原文地址:https://www.cnblogs.com/zxdz/p/13324020.html


评论


亲,登录后才可以留言!