tests/api/JSON-results-Correct-structure-helpers/a/5c09bf93f315d/wrong.R

structure(list(url = "https://api.aims.gov.au/data-v2.0/10.25845/5c09bf93f315d/wrong", 
    status_code = 403L, headers = structure(list(date = "Wed, 31 May 2023 05:24:59 GMT", 
        `content-type` = "application/json", `content-length` = "42", 
        `x-amzn-requestid` = "76e50709-3e44-41d3-8127-018745d57c21", 
        `x-amzn-errortype` = "MissingAuthenticationTokenException", 
        `x-amz-apigw-id` = "FxcG6GoaSwMF1sw="), class = c("insensitive", 
    "list")), all_headers = list(list(status = 403L, version = "HTTP/2", 
        headers = structure(list(date = "Wed, 31 May 2023 05:24:59 GMT", 
            `content-type` = "application/json", `content-length` = "42", 
            `x-amzn-requestid` = "76e50709-3e44-41d3-8127-018745d57c21", 
            `x-amzn-errortype` = "MissingAuthenticationTokenException", 
            `x-amz-apigw-id` = "FxcG6GoaSwMF1sw="), class = c("insensitive", 
        "list")))), cookies = structure(list(domain = logical(0), 
        flag = logical(0), path = logical(0), secure = logical(0), 
        expiration = structure(numeric(0), class = c("POSIXct", 
        "POSIXt")), name = logical(0), value = logical(0)), row.names = integer(0), class = "data.frame"), 
    content = charToRaw("{\"message\":\"Missing Authentication Token\"}"), 
    date = structure(1685510699, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.8e-05, 
    connect = 0, pretransfer = 0.000109, starttransfer = 0.077227, 
    total = 0.077264)), class = "response")
ropensci/dataaimsr documentation built on July 2, 2023, 3:58 a.m.