public JsonResult PostUrl() { string url = "api/v1/checksign"; string baseApiUrl = "http://localhost:172"; var client = new RestClient(baseApiUrl); var request = new RestRequest(url, Method.POST); request.RequestFormat = DataFormat.Json; PayData payData = GetParam(); request.AddBody(payData.GetValues()); IRestResponse response = client.Execute(request); string content = response.Content; return(Json(new { Data = content }, JsonRequestBehavior.AllowGet)); }