tests/testthat/mock_get_points_gps/osm.org/api/0.6/trackpoints-2b6f85.R

structure(list(method = "GET", url = "osm.org/api/0.6/trackpoints?bbox=-0.6683636%2C38.0610674%2C-0.6388378%2C38.1&page=3", 
    status_code = 200L, headers = structure(list(`cache-control` = "max-age=0, private, must-revalidate", 
        vary = "Accept,Origin", `referrer-policy` = "strict-origin-when-cross-origin", 
        `x-permitted-cross-domain-policies` = "none", `x-xss-protection` = "0", 
        `x-request-id` = "REDACTED", `content-disposition` = "attachment; filename=\"tracks.gpx\"", 
        `x-frame-options` = "SAMEORIGIN", `x-runtime` = "0.082827", 
        `x-content-type-options` = "nosniff", `content-security-policy` = "default-src 'self'; child-src 'self'; connect-src 'self' matomo.openstreetmap.org; font-src 'none'; form-action 'self'; frame-ancestors 'self'; frame-src 'self'; img-src 'self' data: www.gravatar.com *.wp.com tile.openstreetmap.org gps.tile.openstreetmap.org *.tile.thunderforest.com tile.tracestrack.com *.openstreetmap.fr matomo.openstreetmap.org https://openstreetmap-user-avatars.s3.dualstack.eu-west-1.amazonaws.com https://openstreetmap-gps-images.s3.dualstack.eu-west-1.amazonaws.com; manifest-src 'self'; media-src 'none'; object-src 'self'; script-src 'self' matomo.openstreetmap.org; style-src 'self' 'nonce-WxACZ5H8+qpzmuFXMJc1nIdVsAovKV0B'; worker-src 'none'", 
        date = "REDACTED", `x-powered-by` = "Phusion Passenger(R) 6.0.22", 
        `strict-transport-security` = "max-age=31536000; includeSubDomains; preload", 
        etag = "W/\"3d0d75f0d314b09935271947ef5dbc8c\"", status = "200 OK", 
        `content-type` = "application/gpx+xml; charset=utf-8", 
        server = "Apache/2.4.54 (Ubuntu)"), class = "httr2_headers"), 
    body = as.raw(c(0x3c, 0x3f, 0x78, 0x6d, 0x6c, 0x20, 0x76, 
    0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x31, 0x2e, 
    0x30, 0x22, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 
    0x67, 0x3d, 0x22, 0x55, 0x54, 0x46, 0x2d, 0x38, 0x22, 0x3f, 
    0x3e, 0x0a, 0x3c, 0x67, 0x70, 0x78, 0x20, 0x76, 0x65, 0x72, 
    0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x31, 0x2e, 0x30, 0x22, 
    0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3d, 0x22, 
    0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x65, 0x74, 
    0x4d, 0x61, 0x70, 0x2e, 0x6f, 0x72, 0x67, 0x22, 0x20, 0x78, 
    0x6d, 0x6c, 0x6e, 0x73, 0x3d, 0x22, 0x68, 0x74, 0x74, 0x70, 
    0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x74, 0x6f, 0x70, 
    0x6f, 0x67, 0x72, 0x61, 0x66, 0x69, 0x78, 0x2e, 0x63, 0x6f, 
    0x6d, 0x2f, 0x47, 0x50, 0x58, 0x2f, 0x31, 0x2f, 0x30, 0x22, 
    0x3e, 0x0a, 0x3c, 0x2f, 0x67, 0x70, 0x78, 0x3e, 0x0a)), cache = new.env(parent = emptyenv())), class = "httr2_response")

Try the osmapiR package in your browser

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

osmapiR documentation built on April 15, 2025, 9:06 a.m.