NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello! How use a .json URL suffix. in GET API https://wiki.openstreetmap.org/wiki/API_v0.6#General_information Retrieving map data by bounding box: GET /api/0.6/map To request JSON format, either set the HTTP Accept header to application/json, or use a .json URL suffix. https://api.openstreetmap.org/api/0.6/map?bbox=76.36808519471933,64.41713173392363,76.75875957883649,64.50167155517451 return xml

asked 22 Dec '21, 08:35

%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9_'s gravatar image

Дмитрий_
11224
accept rate: 0%


Put .json between "map" and the question mark of the URL.

permanent link

answered 22 Dec '21, 08:42

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

thanks, it work/

(22 Dec '21, 09:22) Дмитрий_

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×535
×315
×28
×22

question asked: 22 Dec '21, 08:35

question was seen: 2,564 times

last updated: 22 Dec '21, 09:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum