title: Spring boot API call with multiple @RequestParam
body: <p>I need to find the entries between a date range and would like to make a GET call in the Spring Boot API as follow, </p>
  
  <pre><code>$ curl -X GET http://localhost:8080/api/v1/appointments/findWithRange?start=2018-10-01&amp;end=2018-10-15
  </code></pre>
  
  <p>I write the GET call, </p>
  
  <pre><code>@GetMapping("/findWithRange")
      public ResponseEntity&lt;List&lt;Appointment&gt;&gt; findAllWithCreationRange(@RequestParam("start")  Date start, @RequestParam("end") Date end) {
  
          List&lt;Appointment&gt; appointments = service.findAllWithCreationRange(start, end);
  
          if (Objects.isNull(appointments)) {
              ResponseEntity.badRequest().build();
          }
  
          return ResponseEntity.ok(appointments);
      }
  </code></pre>
  
  <p>I get the return response, </p>
  
  <pre><code>{"timestamp":"2019-02-10T07:58:22.151+0000","status":400,"error":"Bad Request","message":"Required Date parameter 'end' is not present","path":"/api/v1/appointments/findWithRange"}
  </code></pre>
  
  <p>How do I write the call properly? It seems I was not been able to debug as the breakpoints don't catch. </p>