restClient http请求
2021-01-20 12:13
标签:add param valve api 请求 method uri res string var client = new RestClient(Config.ManagementUri); restClient http请求 标签:add param valve api 请求 method uri res string 原文地址:https://www.cnblogs.com/zxdz/p/13324020.html
var request = new RestRequest("api/PushValve", Method.GET);
request.AddParameter("meterAddr","meteraddr的参数值",ParameterType.QueryString);
var response = client.Get(request);