We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e43bb84 + 4d70b23 commit cfe5836Copy full SHA for cfe5836
1 file changed
README.md
@@ -370,12 +370,23 @@ EOF
370
The generic upload endpoint takes the recording as body. Prepend the path with
371
`@` to tell `curl` to read the data from a file:
372
373
+If you are uploading a GPX file (default):
374
+
375
```bash
376
curl -sSL -H "Authorization: bearer your-api-key" \
377
http://localhost:8080/api/v1/import/generic \
378
--data @path/to/recorded.gpx
379
```
380
381
+If you upload FIT files or other file types, including GPX, include a query
382
+paramter `name`:
383
384
+```bash
385
+curl -sSL -H "Authorization: bearer your-api-key" \
386
+ http://localhost:8080/api/v1/import/generic?name=recorded.fit \
387
+ --data @path/to/recorded.fit
388
+```
389
390
#### FitoTrack automatic GPX export
391
392
Read
0 commit comments