transistorsoft / cordova-background-geolocation-SampleApp

Cordova Background Geolocation Sample Application
https://www.transistorsoft.com/shop/products/cordova-background-geolocation
MIT License
122 stars 78 forks source link

Sample app POSTs, then GETs ? #57

Closed ghost closed 8 years ago

ghost commented 8 years ago

We have installed the sample app on a couple of phones - on one phone it POSTs to the posttestserver.com quite happily, on another phone it does a couple of initial POSTs, and then seems to revert to doing GETs (with no location information) instead. Is there a reason why it would use GETs when configured to POST ? Thanks

christocracy commented 8 years ago

I don't think it's possible for the plugin to ever execute a GET request.

ghost commented 8 years ago

This is the folder we've pointed it to on posttestserver.com -

http://posttestserver.com/data/2016/09/27/rlapp_matthew/

Like I say the first couple of entries are POSTs, the rest are GETs - is this an issue with posttestserver? Thanks

christocracy commented 8 years ago

I have no idea who controls posttestserver. Probably an issue there.

Why don't you build my Simple Node Server and use it. It's what I use for development.

ghost commented 8 years ago

Sorry - we've just discovered that someone here was browsing to the posttestserver.com URL on their machine causing the GETs to appear...