[openstreetmap/openstreetmap-website] JSON output nodes, ways, relations, map (#2485)

Andy Allan notifications at github.com
Wed Mar 4 11:39:05 UTC 2020


> @PeWu : as you wrote in the issue, you are simply sending the wrong Accept header:

I suspect that there could be other applications, mainly nodejs ones, that were sending application/json headers without really meaning it (e.g. the http request library they are using does that by default, but the developer was expecting only an XML response since that's the only thing we offered).

I think that's just something each developer will have to adjust to though, I can't imagine a clean way of handling these situations.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2485#issuecomment-594471801
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200304/acddecbb/attachment-0001.htm>


More information about the rails-dev mailing list