title: Required String not present : Spring Rest Template
body: <p>I am trying to consume a (GET) rest service. </p>
  
  <pre><code>http://localhost:7010/abc/status?configFilePath=config%2Fconfig.properties
  </code></pre>
  
  <p>I am trying to use that using the Spring RestTemplate service</p>
  
  <p>Below is the code which I have used for the restTemplate: </p>
  
  <pre><code>String configFile = "config/config.properties";
  Map&lt;String,String&gt; restvars = new HashMap&lt;String,String&gt;();
  restvars.put("configFilePath", configFile);
  
  RestTemplate restTemplate = new RestTemplate();
  String restUrl = http://localhost:7010/abc/status?          
  String restCall = restTemplate.getForObject(restUrl, String.class, restvars);
  System.out.println(restCall.toString());
  </code></pre>
  
  <p>It throws </p>
  
  <pre><code>Required String parameter 'configFilePath' is not present
  </code></pre>
  
  <p>Doesn't the Map actually pass the parameters ?</p>