Author Topic: share/push location (POST-method)  (Read 350 times)

Offline T-mo

  • More than Newbie
  • *
  • Posts: 10
    • View Profile
  • Device: One+3
share/push location (POST-method)
« 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
  • quick www bookmark - does exactly what I want to use but is still limited to GET-method, which has its downsides
  • live tracking - beside GET also POST is possible and works fine (love it!). But by intent, self-explanatory, it's still active for a certain on-time, so not usable for a single push-/share-action

Any ideas?
« Last Edit: September 08, 2017, 23:11:54 by T-mo »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10251
  • Thanked: 90 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: share/push location (POST-method)
« Reply #1 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline T-mo

  • More than Newbie
  • *
  • Posts: 10
    • View Profile
  • Device: One+3
Re: share/push location (POST-method)
« Reply #2 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) 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
« Last Edit: September 24, 2017, 19:09:39 by T-mo »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10251
  • Thanked: 90 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: share/push location (POST-method)
« Reply #3 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline T-mo

  • More than Newbie
  • *
  • Posts: 10
    • View Profile
  • Device: One+3
Re: share/push location (POST-method)
« Reply #4 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.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10251
  • Thanked: 90 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: share/push location (POST-method)
« Reply #5 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 ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!