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

Remove content-type from GET requests #312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanackley
Copy link

The content type is unsettable from oauth.get requests so it ends up being "application/x-www-form-urlencoded". I'm trying to access a rest endpoint and this content-type is causing a 415 error "Unsupported Media Type".

The content type is unsettable from oauth.get requests so it ends up being "application/x-www-form-urlencoded". I'm trying to access a rest endpoint and this content-type is causing a 415 error "Unsupported Media Type".
@leonkyr
Copy link

leonkyr commented May 15, 2017

when this will be merged? +1

@mikeblakeney
Copy link

mikeblakeney commented Jan 22, 2018

For anyone else finding this, I ended up just using _performSecureRequest directly.

consumer._performSecureRequest( token, secret, "GET", url, "", null, contentType, callback)

relates to #281, #182, #183, #331, #333, #136, #284

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.

None yet

3 participants