Once i send the HttpClient request through the PostAsJsonAsync i get the response as Request Entity too large. but i can directly call to webapi and send the request and returns a successfull response. but through the PostAsJsonAsync it returns the 413 error code.
This is my code
var client = new HttpClient { BaseAddress = new Uri(ConfigurationManager.AppSettings.Get("API_HOST")) };
const string api = "CmSaveChange" + "/" + "SaveChange";
var response = client.PostAsJsonAsync(api, entity).Result;
var retunValue = response.Content.ReadAsAsync<HybridDictionary>().Result;