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

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's gravatar image

buddhima
1166711
accept rate: 0%

edited 23 Jul '13, 01:57

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

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.

(15 Dec '12, 09:17) scai ♦

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 !!!

(15 Dec '12, 11:53) buddhima

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/"

permanent link

answered 23 Jul '13, 19:31

Matija%20Nalis's gravatar image

Matija Nalis
7502916
accept rate: 11%

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:

×290
×117
×68
×3

question asked: 14 Dec '12, 16:08

question was seen: 6,109 times

last updated: 23 Jul '13, 19:31

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