node-oauth icon indicating copy to clipboard operation
node-oauth copied to clipboard

Accept GET content_type

Open vgirbes opened this issue 9 years ago • 2 comments

Added content-type in get method to allow users to put a custom header content-type. Many sites require a custom header in oauth authentication (via GET).

vgirbes avatar Jan 29 '16 17:01 vgirbes

I'd really love to have this merged. I'm not sure I understand why this PR hasn't been accepted in such a long time.

rageshkrishna avatar Aug 19 '16 11:08 rageshkrishna

Can you provide an example how to use this?

oauth.get(
      'URL',
      'TOKEN', //test user token
      'SECRET', //test user secret
      'text/xml',

doesnt seem to be working

kevando avatar Nov 14 '16 20:11 kevando