tests/testthat/getpocket.com/v3/oauth/authorize-b9d4e4-POST.R

structure(list(
  url = "https://getpocket.com/v3/oauth/authorize",
  status_code = 200L, headers = structure(list(
    date = "Sun, 15 Mar 2020 11:23:51 GMT",
    `content-type` = "application/x-www-form-urlencoded",
    `content-length` = "65", server = "Apache/2.4.25 (Debian)",
    `x-frame-options` = "SAMEORIGIN", status = "200 OK",
    `cache-control` = "private", `x-source` = "Pocket", `set-cookie` = "REDACTED",
    p3p = "policyref=\"/w3c/p3p.xml\", CP=\"ALL CURa ADMa DEVa OUR IND UNI COM NAV INT STA PRE\""
  ), class = c(
    "insensitive",
    "list"
  )), all_headers = list(list(
    status = 200L, version = "HTTP/2",
    headers = structure(list(
      date = "Sun, 15 Mar 2020 11:23:51 GMT",
      `content-type` = "application/x-www-form-urlencoded",
      `content-length` = "65", server = "Apache/2.4.25 (Debian)",
      `x-frame-options` = "SAMEORIGIN", status = "200 OK",
      `cache-control` = "private", `x-source` = "Pocket",
      `set-cookie` = "REDACTED", p3p = "policyref=\"/w3c/p3p.xml\", CP=\"ALL CURa ADMa DEVa OUR IND UNI COM NAV INT STA PRE\""
    ), class = c(
      "insensitive",
      "list"
    ))
  )), cookies = structure(list(domain = c(
    "#HttpOnly_getpocket.com",
    "#HttpOnly_getpocket.com"
  ), flag = c(FALSE, FALSE), path = c(
    "/",
    "/"
  ), secure = c(FALSE, FALSE), expiration = structure(c(
    Inf,
    1584275031
  ), class = c("POSIXct", "POSIXt")), name = c(
    "PHPSESSID",
    "AUTH_BEARER_default"
  ), value = c("REDACTED", "REDACTED")), row.names = c(
    NA,
    -2L
  ), class = "data.frame"), content = charToRaw("access_token=successfullaccesstokenyey"),
  date = structure(1584271431, class = c("POSIXct", "POSIXt"), tzone = "GMT"), times = c(
    redirect = 0, namelookup = 0.018857,
    connect = 0.13618, pretransfer = 0.441234, starttransfer = 0.441287,
    total = 0.675572
  )
), class = "response")

Try the pocketapi package in your browser

Any scripts or data that you put into this service are public.

pocketapi documentation built on Nov. 20, 2020, 5:08 p.m.