From a319b0a0b42c1acdc9b6a6e16fe54dd37128aec2 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 8 Apr 2022 17:13:42 +0200 Subject: [PATCH] docs: different default for format on osm.org Add a note that the format parameter is needed for nominatim.openstreetmap.org for historical reasons. --- docs/api/Search.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/Search.md b/docs/api/Search.md index 45606a71..ce081cab 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -51,6 +51,12 @@ Both query forms accept the additional parameters listed below. See [Place Output Formats](Output.md) for details on each format. (Default: jsonv2) +!!! note + The Nominatim service at + [https://nominatim.openstreetmap.org](https://nominatim.openstreetmap.org) + has a different default behaviour for historical reasons. When the + `format` parameter is omitted, the request will be forwarded to the Web UI. + * `json_callback=` Wrap JSON output in a callback function ([JSONP](https://en.wikipedia.org/wiki/JSONP)) i.e. `()`. -- 2.39.5