PasteRack.org
Paste # 6848
2019-05-10 18:05:32

Fork as a new paste.

Paste viewed 150 times.


Embed:

#lang racket

(require net/http-client)

(define-values (status headers ip)
  (http-sendrecv "nominatim.openstreetmap.org"
                 "/search/Unter%20den%20Linden%201%20Berlin?format=json&addressdetails=1&limit=1&polygon_svg=1"
                 #:ssl? #t))
status
headers
(port->bytes ip)
(close-input-port ip)