tests/testthat/get_api_codes_postaux/apicarto.ign.fr/api/codes-postaux/communes/29760.R

structure(list(method = "GET", url = "https://apicarto.ign.fr/api/codes-postaux/communes/29760", 
    status_code = 200L, headers = structure(list(`Access-Control-Allow-Origin` = "*", 
        `Cache-Control` = "private, no-cache, no-store, must-revalidate", 
        Expires = "-1", Pragma = "no-cache", `Content-Type` = "application/json; charset=utf-8", 
        `Content-Length` = "103", Date = "Thu, 03 Aug 2023 10:23:21 GMT", 
        Connection = "keep-alive", `Keep-Alive` = "timeout=5", 
        `Set-Cookie` = "REDACTED", `Strict-Transport-Security` = "max-age=31536000; includeSubDomains"), class = "httr2_headers"), 
    body = charToRaw("[{\"codePostal\":\"29760\",\"codeCommune\":\"29158\",\"nomCommune\":\"Penmarch\",\"libelleAcheminement\":\"PENMARCH\"}]")), class = "httr2_response")

Try the happign package in your browser

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

happign documentation built on Sept. 11, 2024, 7:17 p.m.