Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
request.get({ uri: 'domain.com/index.php?threads/281974782' headers: { Authorization: 'Bearer ${oauth_t}' } }, (e, r, b) => { let data = JSON.parse(b) console.log(data) })
Authorization: `Bearer ${oauth_t}`
request.get({ uri: 'https://domain.com/index.php?threads/281974782' headers: { Authorization: `Bearer ${oauth_t}` } }, (e, r, b) => { let data = JSON.parse(b) console.log(data) })
request.get({uri: 'https://lolz.guru/api/index.php?threads/2840272', headers: { Authorization: `Bearer ${config.oauth_token}` }}, (e, r, b) => { let data = JSON.parse(b) console.log(data) })
{ errors: [ 'You do not have permission to view this page or perform this action.' ] }