runnerup icon indicating copy to clipboard operation
runnerup copied to clipboard

Feature Request: Allow GPX Export to Custom API Endpoints

Open khizirsiddiqui opened this issue 10 months ago • 1 comments

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

khizirsiddiqui avatar Jan 19 '26 10:01 khizirsiddiqui

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

jasperart avatar Sep 06 '26 16:09 jasperart