Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

multipart/form-data POST #81

Open
jerrydeng opened this Issue · 6 comments

3 participants

@jerrydeng

There's no documentation on this multipart/form-data post. I've tried it numerous time with a 500 on the response status. I am not sure about how to encode it this way myself. Can you show me some light/inspiration?

@npramanik

I am also facing the similar issues. Need support for multipart badly, but unable to find anything. Also noticed there is a todo "support for multi-part (file uploads)" in access_token.rb. Is there any updates?

@jerrydeng

I ended up using the oauth2 object.token.token and use it manually in combination with HTTMultiparty to get this done. It's not pretty. But gets the job done for the time being. Hope it helps.

@dimerman

@jerrydeng care to post a gist? thanks!

@jerrydeng

Too old. I can't remember nor find it anymore. I think I switched the strategy after.

@jerrydeng

@dimerman you know what, I did a grep -r and found my old code. LOL. here is the gist
https://gist.github.com/jerrydeng/5515445

@dimerman

@jerrydeng thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.