drupalr.get: GET a page from a Drupal site

Description Usage Arguments Value Author(s) Examples

Description

Used to fetch a page froma Drupal website using a HTTP GET request.

Usage

1
drupalr.get(d_url, path, c = getCurlHandle())

Arguments

d_url

Base URL of the Drupal site.

path

The path on the site you wish to access (no preceding /).

c

Optionally provide an authenticated CURL object.

Value

A HTTP string.

Author(s)

Ed Baker

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(d_url, path, c = getCurlHandle()) {
  return(getURL(paste0(d_url,path), curl = c))
}

edwbaker/DrupalR documentation built on May 15, 2019, 11:04 p.m.