title: Binary output from getURIAsynchronous from RCurl
body: <p>depending on the API that I'm calling I receive different object types from getURIAsynchronous. When I query google api I get vector of strings but in case of <a href="https://developers.route360.net/index.html" rel="nofollow noreferrer">Route360</a> the response is returned binary raw. Can I somehow force this function to receive it as a normal text?</p>
  
  <p>Here is a Route360 example request with example api key from their website:</p>
  
  <pre><code>&gt; url &lt;- "https://service.route360.net/germany/v1/polygon?cfg=%7B%22sources%22%3A%5B%7B%22lat%22%3A52.51%2C%22lng%22%3A13.37%2C%22id%22%3A%22%22%2C%22tm%22%3A%7B%22bike%22%3A%7B%7D%7D%7D%5D%2C%22polygon%22%3A%7B%22values%22%3A%5B300%2C600%2C900%2C1200%2C1500%2C1800%5D%2C%22serializer%22%3A%22json%22%2C%22pointReduction%22%3Atrue%7D%7D&amp;cb=jQuery21409533774398208668_1482154160827&amp;key=YWtKiQB7MiZETbCoVsG6&amp;_=1482154160828"
  &gt; response &lt;- getURIAsynchronous(url)
  &gt; typeof(response)
  [1] "raw"
  &gt; head(response)
       [,1]
  [1,]   1f
  [2,]   8b
  [3,]   08
  [4,]   00
  [5,]   00
  [6,]   00
  </code></pre>