title: Passing JSON data in HTTPPost request from Java to ASP.NET MVC
body: <p>Im working on an Android application which i am building in Java and i have a website/REST services in an ASP.NET MVC application. I am trying to make a HttpPost request with the Java HttpClient and pass object in JSON format in the http request but they are not showing up in the controller in my MVC REST service. When i run the application and make the request form Java it breaks in the MVC application and i check the HttpContext.Request and the Params field is empty, the QueryString is empty, and all other places i look it only says "application/json" but it does not have any parameters. Does anyone have any ideas? i've followed tutorials that show how to set the entity with a StringEntity of the JSONObject but that also does not work. If i pass in paramters normally such as "http://www.url.com?name=mike&amp;number=1" that works and i get the data in the MVC controller. Does anyone have a tutorial of some kind or can help me with the code? </p>