Open tony-gutierrez opened 6 years ago
+1 for this request
@tony-gutierrez check this workaround, it works. https://github.com/ciaranj/node-oauth/pull/312#issuecomment-359614640
Yes, it will be good if content type option is available in GET method as it is available in PUT and POST method.
Thanks @tanmaiaccion for the work around. It worked.
It would probably be nice to add a default header:
Accept: 'application/json, text/json'
so that you will almost always get JSON back.