Skip to content

Comments

Add support for POST request with data inside query & Small fixes#116

Open
ungeskriptet wants to merge 9 commits intojulien-nc:mainfrom
ungeskriptet:lat-lon
Open

Add support for POST request with data inside query & Small fixes#116
ungeskriptet wants to merge 9 commits intojulien-nc:mainfrom
ungeskriptet:lat-lon

Conversation

@ungeskriptet
Copy link

This PR fixes the following issues I have noticed:

  • Port gets stripped from URLs when using POST method
  • %loc only gets replaced for $urlleave using GET method
  • Refactor from execute(); to executeQuery(); to fix tests & Nextcloud 33 support

It also adds the following improvements:

  • Allow replacing %lat and %lon inside $urlenter/$urlleave seperately
  • Allow sending POST request data inside query instead of body

Using these additions it's possible to set the URLs to a Traccer URL from Home Assistant for presence detection.

Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
@ungeskriptet ungeskriptet changed the title Add support for POST with data inside query & Small fixes Add support for POST request with data inside query & Small fixes Nov 7, 2025
Move unreleased section to proper version once ready.

Signed-off-by: David Wronek <david.wronek@mainlining.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant