tests/testthat/datacatalog.worldbank.org/services/session/token-POST.R

structure(list(url = "https://datacatalog.worldbank.org/services/session/token", 
    status_code = 200L, headers = structure(list(date = "Wed, 07 Mar 2018 15:59:43 GMT", 
        server = "Apache/2.2.15 (Red Hat)", `x-powered-by` = "PHP/5.6.30", 
        expires = "Sun, 19 Nov 1978 05:00:00 GMT", `cache-control` = "no-cache, must-revalidate", 
        `x-content-type-options` = "nosniff", vary = "Accept-Encoding,User-Agent", 
        `content-encoding` = "gzip", `content-length` = "63", 
        connection = "close", `content-type` = "text/plain;charset=UTF-8"), .Names = c("date", 
    "server", "x-powered-by", "expires", "cache-control", "x-content-type-options", 
    "vary", "content-encoding", "content-length", "connection", 
    "content-type"), class = c("insensitive", "list")), all_headers = list(
        structure(list(status = 200L, version = "HTTP/1.1", headers = structure(list(
            date = "Wed, 07 Mar 2018 15:59:43 GMT", server = "Apache/2.2.15 (Red Hat)", 
            `x-powered-by` = "PHP/5.6.30", expires = "Sun, 19 Nov 1978 05:00:00 GMT", 
            `cache-control` = "no-cache, must-revalidate", `x-content-type-options` = "nosniff", 
            vary = "Accept-Encoding,User-Agent", `content-encoding` = "gzip", 
            `content-length` = "63", connection = "close", `content-type` = "text/plain;charset=UTF-8"), .Names = c("date", 
        "server", "x-powered-by", "expires", "cache-control", 
        "x-content-type-options", "vary", "content-encoding", 
        "content-length", "connection", "content-type"), class = c("insensitive", 
        "list"))), .Names = c("status", "version", "headers"))), 
    cookies = structure(list(domain = c("datacatalog.worldbank.org", 
    "#HttpOnly_.datacatalog.worldbank.org"), flag = c(FALSE, 
    TRUE), path = c("/", "/"), secure = c(FALSE, TRUE), expiration = structure(c(Inf, 
    1540438382), class = c("POSIXct", "POSIXt")), name = c("datacatalog.sfarm", 
    "SSESSea72a4c978dd1670e2b2d8df72f13a23"), value = c("REDACTED", 
    "REDACTED")), .Names = c("domain", "flag", "path", "secure", 
    "expiration", "name", "value"), row.names = c(NA, -2L), class = "data.frame"), 
    content = as.raw(c(0x70, 0x63, 0x36, 0x63, 0x6f, 0x73, 0x59, 
    0x45, 0x31, 0x32, 0x74, 0x52, 0x34, 0x68, 0x57, 0x2d, 0x38, 
    0x57, 0x73, 0x70, 0x58, 0x69, 0x4e, 0x7a, 0x6d, 0x31, 0x79, 
    0x48, 0x31, 0x69, 0x67, 0x46, 0x4d, 0x68, 0x56, 0x32, 0x6c, 
    0x4e, 0x55, 0x34, 0x5a, 0x6d, 0x34)), date = structure(1520438383, class = c("POSIXct", 
    "POSIXt"), tzone = "GMT"), times = structure(c(0, 1e-06, 
    1e-06, 1e-06, 0.5, 0.5), .Names = c("redirect", "namelookup", 
    "connect", "pretransfer", "starttransfer", "total")), request = structure(list(
        method = "POST", url = "https://datacatalog.worldbank.org/services/session/token", 
        headers = structure(c("", "application/json", "SSESSea72a4c978dd1670e2b2d8df72f13a23=mEJC8EiseCDIjWzfkuFCszFQqPnyfDadUfgMuSmtwro"
        ), .Names = c("Content-Type", "Accept", "Cookie")), fields = NULL, 
        options = structure(list(useragent = "libcurl/7.56.1 r-curl/3.1 httr/1.3.1", 
            cainfo = "C:/PROGRA~1/R/R-34~1.3/etc/curl-ca-bundle.crt", 
            post = TRUE, postfieldsize = 0L), .Names = c("useragent", 
        "cainfo", "post", "postfieldsize")), output = structure(list(), class = c("write_memory", 
        "write_function"))), .Names = c("method", "url", "headers", 
    "fields", "options", "output"), class = "request")), .Names = c("url", 
"status_code", "headers", "all_headers", "cookies", "content", 
"date", "times", "request"), class = "response")

Try the dkanr package in your browser

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

dkanr documentation built on May 1, 2019, 7:31 p.m.