How would one do the following with the request npm module?
request
curl https://todoist.com/oauth/access_token \\ -d client_id=0123456789abcdef \\
var url = 'http://xxxxx' request({ url : url, method :"POST", headers : { "content-type": "application/json", }, body: { 'id':1, 'name':'xxxx' }, json: true },
it's working