title: Angular HttpClient Get method with body
body: <p>I'm improving an existing API, and the requirement is to provide a single get method which can accept multiple search criteria and based on those criteria perform the query.</p>
  
  <p>I'm using Spring MVC. The get method signature:</p>
  
  <pre><code>@GetMapping("/subscribers")
  public ResponseEntity&lt;List&lt;SubscriberDTO&gt;&gt; getAllSubscribers(Pageable pageable, @RequestBody List&lt;SearchCriteria&gt; lstSearchCriteria)
  </code></pre>
  
  <p>The implementation is working as expected tested on Postman</p>
  
  <p>Now I was going to Angular to implementing the front end and I can't find a way to send a body through HttpClient Get method...</p>
  
  <p>I'm kind of stuck. Should I send the search criteria over headers? Or there's a better way of doing it?</p>