Hi, I have a problem with basic authentication in OSM. To upload gps traces it is required. So it would be great if someone can paste the headers with message body of 'upload traces' POST request. Thanks in advance ! asked 14 Dec '12, 16:08 buddhima aseerel4c26 ♦ |
You just follow instructions for API uploading traces. The basic auth (which is deprecated and you should use OAuth instead) is trivially encoded into URL, for example using POST to "http://username:password@api.openstreetmap.org/" answered 23 Jul '13, 19:31 Matija Nalis |
It's easy to gather those information for yourself. Just get wireshark or tcpdump and keep it running when uploading a trace. Then just identify the corresponding packet(s) and read their content. Alternatively read the code of one open source tool that is capable of GPS trace uploading.
Hi Scai,
It's k Scai. But it would be great if someone can give the set of headers, because it would be useful for developers who are using OSM API and track the concept Basic Authentication.
Thanks !!!