[OSM-dev] Malformed API results
Mike Parfitt
m_parfitt at hotmail.com
Sat Jan 4 20:38:01 UTC 2020
Hi, thanks for the reply.
On my android tablet :-
. . the following browsers exhibit the same problem :-
. . . . Chrome
. . . . Opera
. . . . Samsung's basic offering
. . so does the http shortcuts app
I am not an Android/Linux command line user. I did install a command line app and executed the curl command prepared by the http shortcuts app, but all I got was "not found".
The same stream of description tags values precedes the desired xml on a Windows 10 Home PC using the Edge and Chrome browsers.
My conclusion is that it isn't a browser artifact.
Have you uploaded any gpx files ? What does curl and wget return for you ?
________________________________
From: mmd <mmd.osm at gmail.com>
Sent: 04 January 2020 11:31:15
To: dev at openstreetmap.org <dev at openstreetmap.org>
Subject: Re: [OSM-dev] Malformed API results
On 2019-12-13 19:09, Mike Parfitt wrote:
> The https://api.openstreetmap.org/api/0.6/user/gpx_files call returns a
> long stream of <description> tag values before the xml that it is
> supposed to return.
That's most likely a browser artifact and has nothing to do with the
actual data returned by the API. Try curl or wget instead and inspect
the resulting XML file in a text editor.
--
_______________________________________________
dev mailing list
dev at openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20200104/17d3fdc1/attachment.htm>
More information about the dev
mailing list