title: Post in Spring Rest not working
body: <p>This is the first time I am using REST with Spring, before this I always used JAX RS with Guice implementation.</p>
  
  <p>Anyways here is  my Controller</p>
  
  <pre><code>@Controller
  @Api(value = "Redis Data Structures Service", description = "Spring REST Controller that handles all the HTTP requests for the Redis Data Structures Service.", position = 1)
  @ManagedResource(description = "Redis Data Structures Service REST Controller")
  @RestController
  @EnableAutoConfiguration
  @EnableSwagger
  @RequestMapping("/datastructures/v1")
  public class MyResource{
     @RequestMapping(value = "/process", method = RequestMethod.POST, produces = "application/json", consumes="application/json")
     public ResponseEntity&lt;Operation&gt; batch(@RequestBody Operation operation) throws JSONException{
         //this is just for testing
         operation.operationId = 123;
         return new ResponseEntity&lt;Operation&gt;(operation, HttpStatus.OK);
     }
  }
  </code></pre>
  
  <p>Here is the Pojo of Operation class:</p>
  
  <pre><code>public class Operation{
     public int operationId;
     //get &amp; set
  }
  </code></pre>
  
  <p>Here is the rest call I am calling from Advance Rest Client Google chrome extension:</p>
  
  <pre><code>PATH : 
        &lt;server:port&gt;/datastructures/v1/process/
  BODY : 
       {
         "operationId":10
       }
  METHOD :
       POST
  CONTENT TYPE : 
       application/json 
  </code></pre>
  
  <p>And on calling this is the exception I am getting, </p>
  
  <pre><code>Required request body content is missing....with stack trace
  </code></pre>
  
  <p>Here is the stacktrace <a href="http://pastebin.com/9v5BSq7k" rel="nofollow">click here</a></p>
  
  <p>its  really frustrating that this much simple call is killing the app, :) .
  Please help, thanks in advance</p>