title: How to pass date(dd/MM/yyyy HH:mm) as a parameter in REST API
body: <p>I am trying to write a rest api in which I am passing date as a URL parameter.
  <strong>Date formate is dd/MM/yyyy HH:mm</strong>;
  REST API URL Is </p>
  
  <p><strong>public static final String GET_TestDate = "/stay/datecheck?dateCheckIn={dateCheckIn}";</strong></p>
  
  <p>and Rest Method is </p>
  
  <pre><code>     @RequestMapping(value = HotelRestURIConstants.GET_TestDate, method = RequestMethod.GET)
          public @ResponseBody String getDate(@PathVariable("dateCheckIn")  @DateTimeFormat(iso= DateTimeFormat.ISO.DATE) String dateCheckIn) {
              logger.info("passing date as a param");
              String str="date"+dateCheckIn;
              return str;
          }
  </code></pre>
  
  <p>but when am calling this api using REST client I am getting <strong>404 error</strong>.
  Here is REST URL</p>
  
  <pre><code>http://localhost:8089/stay/datecheck?dateCheckIn="28/01/2016 19:00"
  </code></pre>