Run a request to the API
API.request(server = getOption("Rexperigen.server"), request = "version", params = list(), auth = FALSE, method = "GET")
server
: The server name (no need to be clean)request
: The request verb to the serverparams
: A list of name=value
pairs that will be passed to the serverauth
: Do we send authentication? If this is FALSE
, we don't.method
: The HTTP method to use (GET | POST | PUT | DELETE
).Other development: checkAuthentication
, create.API.request.URL
, prepare.server.URL
, server.version