runnerup
runnerup copied to clipboard
Feature Request: Allow GPX Export to Custom API Endpoints
Currently there are set methods through which the user can connect and send data after the run ends. It would expand the application's compatibility with several different services if the app could send a POST request along with GPX file and meta-data to user-defined web address. Example service: Workout-Tracker takes a POST request like below
curl -sSL -H "Authorization: bearer your-api-key" \
http://localhost:8080/api/v1/import/generic \
--data @path/to/recorded.gpx
Example inputs:
url - http://localhost:8080/api/v1/import/generic
token - your-api-key
I second this request. A customizable payload would open up the app to a wider range of endpoints.
Dreeve for example uses a slightly different format:
curl --request POST \
--url http://localhost:8080/api/v1/activity/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@file