tinuzz / wp-plugin-trackserver

A WordPress plugin for GPS tracking and publishing
https://wordpress.org/plugins/trackserver/
36 stars 12 forks source link

http request with Arduino #27

Closed albertomercurio closed 4 years ago

albertomercurio commented 4 years ago

I want to sent my Arduino location with http request. The problem is that i don't know the http GET or POST method fot upload my data. I saw that there is an http request, but i don't know the syntax.

tinuzz commented 4 years ago

Easiest way is the OsmAnd protocol. All the URL parameters can be found as 'Full URL' in the Trackserver profile.

albertomercurio commented 4 years ago

Ok thank you it worked! Another question: is there a way to get the last 50 track? I know that the track syntax is "track=34,35,36,37" for example. I think something like "track=-50:" but of course it didn't work.

tinuzz commented 4 years ago

Sorry, Trackserver doesn't currently support getting ranges of tracks in any way. It has been on the roadmap for a while, but I never got around to implementing it.

Can you open a separate Github ticket and create a feature request?