-
-
Save braiden/ef841d3728d104a0fb0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /proxy/upload-service-1.1/json/upload/.tcx HTTP/1.1 | |
Accept-Encoding: identity | |
Content-Length: 1426 | |
Accept-Language: en-us,en;q=0.5 | |
Connection: close | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 | |
Host: connect.garmin.com | |
PrimaryGarminUserLocalePref=en | |
Referer: https://connect.garmin.com/signin | |
Content-Type: multipart/form-data; boundary=2bfc300b4fc948a2a99693e7bd07c9bc | |
--2bfc300b4fc948a2a99693e7bd07c9bc | |
Content-Disposition: form-data; name="data"; filename="20140216-040210.tcx" | |
Content-Type: text/plain; charset=utf-8 | |
<?xml version='1.0' encoding='UTF-8'?> | |
<TrainingCenterDatabase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.garmin.com/xmlschemas/ActivityExtension/v2" xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2"> | |
<Activities> | |
<Activity Sport="Running"> | |
<Id>2014-02-16T04:02:10Z</Id> | |
<Lap StartTime="2014-02-16T04:02:10Z"> | |
<TotalTimeSeconds>14.54</TotalTimeSeconds> | |
<DistanceMeters>0.0</DistanceMeters> | |
<MaximumSpeed>0.0</MaximumSpeed> | |
<Calories>0</Calories> | |
<Intensity>Active</Intensity> | |
<TriggerMethod>Manual</TriggerMethod> | |
</Lap> | |
<Creator xsi:type="Device_t"> | |
<Name>Forerunner 405CX Software Version 2.40</Name> | |
<UnitId>3835285443</UnitId> | |
<ProductID>1039</ProductID> | |
<Version> | |
<VersionMajor>2</VersionMajor> | |
<VersionMinor>40</VersionMinor> | |
<BuildMajor>0</BuildMajor> | |
<BuildMinor>0</BuildMinor> | |
</Version> | |
</Creator> | |
</Activity> | |
</Activities> | |
</TrainingCenterDatabase> | |
--2bfc300b4fc948a2a99693e7bd07c9bc | |
Content-Disposition: form-data; name="responseContentType" | |
Content-Type: text/plain; charset=utf-8 | |
text/html | |
--2bfc300b4fc948a2a99693e7bd07c9bc-- | |
HTTP/1.1 200 OK | |
Cache-Control: no-cache, no-store, private | |
Pragma: no-cache | |
Content-Type: application/json | |
Vary: Accept-Encoding | |
Date: Sun, 16 Feb 2014 04:03:08 GMT | |
Content-Length: 439 | |
Connection: close | |
{"detailedImportResult":{"uploadId":813069008,"owner":1383044,"fileSize":1080,"processingTime":325,"creationDate":"2014-02-16 04:03:08.472 GMT","ipAddress":"192.168.18.49","fileName":"20140216-040210.tcx","report":{"@class":"uploadReport","entries":[],"createdOn":"2014-02-16 04:03:08.230 GMT","children":[],"userProfileId":1383044},"successes":[{"internalId":445785470,"externalId":"2014-02-16T04:02:10Z","messages":null}],"failures":[]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, Braiden.