【发布时间】:2020-04-02 07:27:39
【问题描述】:
request.get('http://localhost:8080/rest/api/2/project',
{
oauth:{
consumer_key:consumer_key,
consumer_secret:consumer_secret,
oauth_signature_method: RSA-SHA1,
token: oauth_access_token,
token_secret: oauth_access_token_secret
},
qs:{user_id:user_id} // or screen_name
},
function (err, res, body) {
console.log(err)
console.log(body)
}
)
【问题讨论】:
标签: node.js oauth request jira jira-rest-api