引用 RestSharp.dll
// 人员信息
RestClient client = new RestClient("url");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("appId", appId);
request.AddHeader("signaTure", signaTure);
request.AddHeader("Content-Type", "application/json");
var body = @"{""createTimeStart"":"""",""createTimeEnd"":"""",""updateTimeStart"":"""",""updateTimeEnd"":"""",""pageSize"":9999999}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
JObject obj = (JObject)JsonConvert.DeserializeObject(response.Content);
RestSharp.dll 下载地址
https://download.csdn.net/download/weixin_42020830/86726750