getRCurlContent {biodb} | R Documentation

## Get URL content using RCurl::getURL().

### Description

Get URL content using RCurl::getURL().

### Usage

    getRCurlContent(
      u,
      opts = NULL,
      enc = integer(),
      header.fct = NULL,
      ssl.verifypeer = TRUE,
      method = c("get", "post"),
      binary = FALSE
    )

### Arguments

`u` | The URL as a character value.
`opts` | A valid RCurl options object.
`enc` | The encoding.
`header.fct` | An RCurl header gatherer function.
`ssl.verifypeer` | Set to TRUE to enable SSL verify peer.
`method` | The HTTP method to use, either 'get' or 'post'.
`binary` | Set to TRUE if the content to be retrieved is binary.

### Value

The URL content as a character single value.

[Package biodb version 1.2.2 Index]