Posr - show off your rides and hikes
API
The API is secured via Basic Auth.
Upload tracks
You can use POST https://posr.lusiardi.de/api/tracks to upload one or more tracks via API. All tags added to the file must be in form of a list. At least the Sport tag must be defined.
Examples
With curl (will ask for password):
curl "https://posr.lusiardi.de/api/tracks" \
-F file=@/$PATH_TO_FILE \
-F 'tags={"Sport":["$SPORT_OF_TRACK"], "OTHER_KEY":["OTHER_VALUE"]}' \
-u "YOUR@EMAIL.HERE"
As an alternative, the .netrc file can be used.