Skip to content

Remove content-type from GET requests#312

Open
ryanackley wants to merge 1 commit into
ciaranj:masterfrom
ryanackley:patch-1
Open

Remove content-type from GET requests#312
ryanackley wants to merge 1 commit into
ciaranj:masterfrom
ryanackley:patch-1

Conversation

@ryanackley

Copy link
Copy Markdown

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

leonkyr commented May 15, 2017

Copy link
Copy Markdown

when this will be merged? +1

@mikeblakeney

mikeblakeney commented Jan 22, 2018

Copy link
Copy Markdown

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.

3 participants