Skip to content

Fix Multipart Upload for /uploads to work - #13

Open
wizapp wants to merge 1 commit into
mpclarkson:masterfrom
wizapp:master
Open

Fix Multipart Upload for /uploads to work#13
wizapp wants to merge 1 commit into
mpclarkson:masterfrom
wizapp:master

Conversation

@wizapp

@wizapp wizapp commented Jan 18, 2018

Copy link
Copy Markdown

Hi,

For current Strava API, /upload API needs file data to be named "file" in multipart Data. So here is my fix that makes my project working now.

Cheers
Sebastien

@lludo

lludo commented Oct 19, 2019

Copy link
Copy Markdown
Collaborator

Thank you for this! Is this still the case? Is this in the documentation?

@ehmjaysee

Copy link
Copy Markdown
Contributor

Uploading activities in the main purpose I was looking into StravaSwift. This looks like a trivial code change so hoping this can get pulled in soon.

@DominicHolmes

Copy link
Copy Markdown
Contributor

Can confirm that version 1.0.1 doesn't work, but implementing this change lets me successfully upload .gtx files. Thanks so much @wizapp !

See my fork with version 1.0.2 if you want this fix implemented.

@mpclarkson you should consider merging this :)

@lludo

lludo commented Apr 15, 2020 via email

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants