tests/testthat/datacatalog.worldbank.org/api/dataset/user/login-95e77f-POST.R

structure(list(url = "https://datacatalog.worldbank.org/api/dataset/user/login", 
    status_code = 401L, headers = structure(list(date = "Wed, 21 Feb 2018 22:36:21 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,Accept-Encoding,User-Agent", 
        `set-cookie` = "REDACTED", `content-encoding` = "gzip", 
        `content-length` = "46", connection = "close", `content-type` = "application/json"), .Names = c("date", 
    "server", "x-powered-by", "expires", "cache-control", "x-content-type-options", 
    "vary", "set-cookie", "content-encoding", "content-length", 
    "connection", "content-type"), class = c("insensitive", "list"
    )), all_headers = list(structure(list(status = 401L, version = "HTTP/1.1", 
        headers = structure(list(date = "Wed, 21 Feb 2018 22:36:21 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,Accept-Encoding,User-Agent", 
            `set-cookie` = "REDACTED", `content-encoding` = "gzip", 
            `content-length` = "46", connection = "close", `content-type` = "application/json"), .Names = c("date", 
        "server", "x-powered-by", "expires", "cache-control", 
        "x-content-type-options", "vary", "set-cookie", "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, 
    1519252581), 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 = charToRaw("[\"CSRF validation failed\"]"), date = structure(1519252581, class = c("POSIXct", 
    "POSIXt"), tzone = "GMT"), times = structure(c(0, 1e-06, 
    1e-06, 1e-06, 0.562, 0.562), .Names = c("redirect", "namelookup", 
    "connect", "pretransfer", "starttransfer", "total")), request = structure(list(
        method = "POST", url = "https://datacatalog.worldbank.org/api/dataset/user/login", 
        headers = structure(c("application/json", "application/json"
        ), .Names = c("Accept", "Content-Type")), 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 = 120L, postfields = as.raw(c(0x7b, 
            0x0a, 0x20, 0x20, 0x22, 0x73, 0x65, 0x73, 0x73, 0x69, 
            0x64, 0x22, 0x3a, 0x20, 0x22, 0x42, 0x74, 0x37, 0x76, 
            0x6a, 0x55, 0x6a, 0x33, 0x53, 0x35, 0x52, 0x67, 0x57, 
            0x35, 0x78, 0x6b, 0x64, 0x56, 0x6c, 0x2d, 0x45, 0x38, 
            0x75, 0x71, 0x71, 0x57, 0x4d, 0x78, 0x65, 0x58, 0x55, 
            0x32, 0x55, 0x78, 0x70, 0x54, 0x4f, 0x54, 0x67, 0x67, 
            0x6c, 0x53, 0x4d, 0x22, 0x2c, 0x0a, 0x20, 0x20, 0x22, 
            0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 
            0x3a, 0x20, 0x22, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x73, 
            0x65, 0x72, 0x5f, 0x31, 0x22, 0x2c, 0x0a, 0x20, 0x20, 
            0x22, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 
            0x22, 0x3a, 0x20, 0x22, 0x4d, 0x29, 0x56, 0x76, 0x21, 
            0x77, 0x34, 0x46, 0x21, 0x44, 0x37, 0x5d, 0x50, 0x22, 
            0x0a, 0x7d))), .Names = c("useragent", "cainfo", 
        "post", "postfieldsize", "postfields")), 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")
tonyfujs/dkanr documentation built on May 28, 2019, 4:03 p.m.