getTokenResponseWS: getTokenResponseWS

Description Usage Arguments Details Value See Also

View source: R/getToken.R

Description

Create a token to call the webservice for authentication and returns a formatted response of WSResponse class.

Usage

1
2
getTokenResponseWS(resource, paramPath = NULL, attributes,
  type = "application/json")

Arguments

resource

character, an resource from the web service api

attributes

a list containing a login and a password

Details

This function is OK for the first version of the web service (a GET call with a visible request)

Value

responseObject an object HTTP httr

See Also

http://docs.brapi.apiary.io/#introduction/url-structure


niio972/opensilex-ws-client-r documentation built on Nov. 4, 2019, 10:06 p.m.