title: Angular2 http GET with Body?
body: <p>I'm querying some elasticsearch servers from my Angular2 site. To help with security, we'd like to lock down access to only GET requests. Elasticsearch supports GET with a body but I'm having troubles making it happen with Angular2's http class.</p>
  
  <pre><code>this.http.post(SearchEndpoint, q.BuildPayload(), { method: 'GET' })
  </code></pre>
  
  <p>Since <code>http.get</code> doesn't have a <code>body</code> parameter, I am trying to use the post method. Previously I would leave off the RequestOptionsArgs of <code>{ method: 'GET' }</code> and the POST would go through successfully with the body. By specifying the method in the third parameter the http class removes the body from the request.</p>
  
  <p>Is it possible to make a GET request with a body in Angular 2?</p>