title: Making a GET request in R
body: <p>I've been playing a little with httr and rcurl and cannot manage to translate the following curl GET request into R:</p>
  
  <pre><code>curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer 31232187asdsadh23187' 'https://this.url.api.com:334/api/endpoint'
  </code></pre>
  
  <p>Particularly, I've been having some trouble to pass the Authorization option as I was not able to find the equivalent parameter in neither of the libraries. It might be a custom header maybe?</p>