tests/testthat/exposure-batch/ctx/exposure/fun-use/search/by-dtxsid.R

structure(list(url = "https://comptox.epa.gov/ctx-api/exposure/functional-use/search/by-dtxsid/", 
    status_code = 405L, headers = structure(list(date = "Mon, 06 Oct 2025 16:54:25 GMT", 
        server = "Apache", `strict-transport-security` = "max-age=63072000; includeSubDomains; preload“", 
        vary = "Origin,Access-Control-Request-Method,Access-Control-Request-Headers", 
        allow = "POST", `cache-control` = "max-age=0, must-revalidate, no-transform", 
        `content-type` = "application/json", `transfer-encoding` = "chunked"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 405L, version = "HTTP/1.1", 
        headers = structure(list(date = "Mon, 06 Oct 2025 16:54:25 GMT", 
            server = "Apache", `strict-transport-security` = "max-age=63072000; includeSubDomains; preload“", 
            vary = "Origin,Access-Control-Request-Method,Access-Control-Request-Headers", 
            allow = "POST", `cache-control` = "max-age=0, must-revalidate, no-transform", 
            `content-type` = "application/json", `transfer-encoding` = "chunked"), 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("{\n  \"timestamp\" : \"2025-10-06T16:54:25.216+00:00\",\n  \"status\" : 405,\n  \"error\" : \"Method Not Allowed\",\n  \"path\" : \"/exposure/functional-use/search/by-dtxsid/\"\n}"), 
    date = structure(1759769665, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 5.7e-05, 
    connect = 0, pretransfer = 0.000205, starttransfer = 0.037041, 
    total = 0.037069)), class = "response")

Try the ctxR package in your browser

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

ctxR documentation built on Nov. 5, 2025, 5:08 p.m.