content {http} R Documentation

get content data from the http request result

Description

Usage

content(data,
    typeof = NULL,
    plain.text = FALSE,
    throw.http.error = TRUE);

Arguments

data

[as WebResponseResult]

typeof

will try to parse json if this typeof parameter is not nothing

plain.text

treat the content data as html/plaintext data. if not then this function will try to parse the content data as 1. list: application/json 2. dataframe: text/csv. [as boolean]

Details

Authors

webKit

Value

this function returns data object of type any kind.

clr value class

Examples


[Package http version 1.0.0.0 Index]