API.request: Run a request to the API

Description Usage Arguments See Also

View source: R/utilities.R

Description

Run a request to the API

Usage

1
2
API.request(server = getOption("Rexperigen.server"), request = "version",
  params = list(), auth = FALSE, method = "GET")

Arguments

server

The server name (no need to be clean)

request

The request verb to the server

params

A list of name=value pairs that will be passed to the server

auth

Do we send authentication? If this is FALSE, we don't.

method

The HTTP method to use (GET | POST | PUT | DELETE).

See Also

Other development: checkAuthentication, create.API.request.URL, prepare.server.URL, server.version


Rexperigen documentation built on May 1, 2019, 10:09 p.m.