aseemk / node-jsonreq

JSON requests made easy, for Node.js.

Home Page:https://github.com/aseemk/node-jsonreq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all json requests send json in its body

lexer opened this issue · comments

Not all json requests send json in its body. For example to get Facebook oauth token you should send 'application/x-www-form-urlencoded'

You're absolutely right. I was wondering about that too, but wasn't sure how to expose this functionality. Any thoughts on what the API might look like?

In Jquery data is just a string.