GET() request has empty content

Hi all,

I can't find why the response from the following GET() request is empty while I can properly see it on google chrome (> network > Response)?

''''
library(httr)
library(jsonlite)

url <- "https://api.boerse-frankfurt.de/v1/data/master_data_bond?isin=AT0000A1XML2"
data <- GET(url)
data_content <- fromJSON(rawToChar(data$content))
''''

Hope you will be able to shed some light on this issue as I have been looking for hours,

Regards,

Maxime

I realized the question is not complete.

The initial url scraped is "https://www.boerse-frankfurt.de/bond/at0000a1xml2-oesterreich-republik-2-1-17-17".

When I go to Network > XHR > master_data_bond?isin=AT0000A1XML2

I have all the information on the API request.

I expect the following to be at the source of the problem:

x-content-type-options: nosniff
x-frame-options: DENY
x-xss-protection: 1; mode=block

As I see the response from the request on google chrome console, I expect to be able to get around it.
Any idea how would be greatly appreciated.

Tks,

Maxime

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.