Cant read GET request response (it is in raw)

Hi, I have finally been able to authenticate with the Google Contacts API.

When I send

response <- httr::GET('https://www.google.com/m8/feeds/contacts/{email}/full', list(access_token = mytoken))

I get a status 200 reponse but the repsonse$contents say it is 'raw' and I can't read it.

.....
[561] 67 6c .... 6e 6b 20 68 72 65 66 3d...
[641] 38 2f 6...... 74 6f
...

Is the results of the following statement readable?

rawToChar(response$content)

@HanOostdijk. Yes it does thank you very much, I did not know of that function existed. It is in xml. Now to interpret the response, but that is great, thank you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.