Locus Map - forum

Support => Troubles & Questions => Topic started by: T-mo on September 08, 2017, 23:10:00

Title: share/push location (POST-method)
Post by: T-mo on September 08, 2017, 23:10:00
I am currently searching for a function to push/share my current location to a custom web-service, i.e. url. I want to use POST-method.

what I found so far

Any ideas?
Title: Re: share/push location (POST-method)
Post by: Menion on September 21, 2017, 10:38:04
Hello T-mo,
what is a major problem with GET method used in "Quick www bookmarks"? Because this feature should be, as you wrote, exactly what you need.
Title: Re: share/push location (POST-method)
Post by: T-mo on September 24, 2017, 18:30:54
Hi menion,
of course using 'share' with a set 'live tracking'(LT)-service is more simple and within 'share' :)
Came to my mind as the LT is already set up and could be used. I also could start+stop LT.
'Quick www' uses GET (https://www.w3schools.com/TagS/ref_httpmethods.asp (https://www.w3schools.com/TagS/ref_httpmethods.asp)) and I need to switch to the browser, so i'm leaving Locus.
All this forces me to be focussed to exactly this, so it binds attention, and changes the screen - I thought about a single-button-action, of course 2..3 clicks might also be ok..
Not a problem of course but I think it's useful.

edit: fixes
Title: Re: share/push location (POST-method)
Post by: Menion on September 24, 2017, 21:44:22
Hello,
I still miss explanation, why GET is not usable for you use-case. One time push of location over Quick WWW bookmarks sounds still to me as a best solution for this use-case.
Title: Re: share/push location (POST-method)
Post by: T-mo on September 26, 2017, 00:06:27
GET transfers all data via URL which has it's downsides reg. security as everything still can be found in the URL if known - so I don't want to use it.
Even though it's my personal stuff and any abuses are more theoretically, from technically point of view I am still restricted to this and this share-option is the only way I can use this, and screen is changing, firefox, change to new tab, switch back to locus, .a small journey instead of a simple button-click.
Title: Re: share/push location (POST-method)
Post by: Menion on September 26, 2017, 11:03:17
Hmm to be true, I completely forget on fact, that Quick www bookmarks opens web browser!, heh ...

Understand. What you needs is a tool that send data/request directly on web address without a web browser and also over POST method and not the GET.

In this case, Custom live tracking is better, but unfortunately it is made for periodical sending of events in defined interval.

Hmm complicated task ...