Request post

Post(url = NULL, auth = NULL, parse_json = NULL, parse_html = FALSE, ...)

Arguments

url

a url

auth

a list of authentication variables list(username = "user", password = "pwd") or NULL

...

Other parameters passable to the get verb. Including

  • cookies: dictionary or list of cookies

  • headers: dictionary or list of headers

  • params: tuple or list of parameters

  • timeout: vector of timeout

  • data: list of data parameters

parse_to_json

if not NULL returns JSON, to return parsed JSON if possible, list(is_tibble = TRUE)

parse_to_html

if true

Value

request module, json or HTML depending on input