var client = new HttpClient(); client.BaseAddress = new Uri("http://localhost:10010/api/thirdpart/BatchOpenApp"); var json = JsonConvert.SerializeObject(new { agentname = "代理", companyid = 189, begindate = "2015-07-01", enddate = "2015-07-20", appids = "1,2,3", appexts = "" }); HttpContent content = new StringContent(json); content.Headers.ContentType = new MediaTypeHeaderValue("application/json"); var result = client.PostAsync("", content).Result.Content.ReadAsStringAsync().Result;