restClient http请求

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);

posted @   就一个  阅读(541)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示