node-oauth
node-oauth copied to clipboard
Accept GET content_type
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).
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.
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