axios({ url: ‘https://api.monday.com/v2’, headers: {
Authorization: 'Bearer ’ + process.env.mondayToken
},
method: ‘get’,
data: {
query: `query { boards(ids: ID_HERE) { description } }`
}
}).then((result) => {
console.log(result.data.data.boards[0])
})
.catch(function (error) {
console.log(error)
});
})
}
log returns { description: ‘post to [monday.com](http://monday.com/)’ }
Node.js query example using Axios
This topic has been closed for replies.
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.