Skip to content

Commit

Permalink
Merge pull request #812 from mtmail/patch-2
Browse files Browse the repository at this point in the history
README.md - mention accept-language header
  • Loading branch information
lonvia authored Jun 7, 2024
2 parents ce3424b + a6dbef7 commit a57b831
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ http://localhost:2322/api?q=berlin&limit=2
http://localhost:2322/api?q=berlin&lang=it
```

If omitted the ['accept-language' HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language)
will be used (browsers set this by default). If neither is set the local name of the place is returned. In OpenStreetMap
data that's usually the value of the `name` tag, for example the local name for Tokyo is 東京都.

#### Filter results by bounding box

Expected format is minLon,minLat,maxLon,maxLat.
Expand Down

0 comments on commit a57b831

Please sign in to comment.