title: POST request with RequestBody is not working
body: <p>in the below example, i am using POST and GET methods. post is to initialize a varibale and GET is to get this varibale.
  I use Postman to make the requests.</p>
  
  <p>i am receiving an error </p>
  
  <pre><code>@RequestBody(value = "val") //cant resolve method value
  </code></pre>
  
  <p>please let me know how to fix the belwo error so i can use post method for initialization and get methdo to retrieve the value</p>
  
  <p><strong>Controller1</strong></p>
  
  <pre><code>@Controller
  @RequestMapping("/call1")
  public class Call1 {
  
  public String str = "inti";
  
  @RequestMapping(value = "/intiparam1", method = RequestMethod.POST)
  public void intiParam1(@RequestBody(value = "val") String val) {
      this.str = val;
  }
  
  @RequestMapping(value = "/getparam1", method = RequestMethod.GET)
  public String getParam1() {
      return this.str;
  }
  }
  </code></pre>