Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading a trace #35

Open
HarelM opened this issue Jan 14, 2017 · 1 comment
Open

Uploading a trace #35

HarelM opened this issue Jan 14, 2017 · 1 comment

Comments

@HarelM
Copy link
Contributor

HarelM commented Jan 14, 2017

I'm trying to use this library in order to upload a trace file to the following API method:
/api/0.6/gpx/create
As far as I can tell from the code and some test I ran this is not possible?
I might have missed something, but the documentation does not indicate how to do it.
Looking at the code I see the content attribute in the options which uses key value pair with form data.
As far as I can tell in order to upload a file this library needs to support multi-part content, right?

@bhousel
Copy link
Member

bhousel commented Jan 14, 2017

As far as I can tell in order to upload a file this library needs to support multi-part content, right?

Yes, I think you are right..

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

No branches or pull requests

2 participants