my issue is that I need to see all the items. When I run my script I get an array of objects in my log, but it doesn't show them all ... 40541 more items is not expected, i'm trying to log all the items
[
{},
{},
... 40541 more items
]
My package.json is logging all data to reportData.log after I run npm run start in my console. here is the scripts portion of my package.json
"scripts": {
"start": "node --experimental-json-modules reportScript.js > reportData.log"
},
here is the code in my reportScript.js, pseudo variables have been added
function getReport() {
axios({
method: 'get',
url: reportEndpoint, //not actual, just pseudo
headers: {
'Content-Type':'application/json',
'Cookie':`sess.jwt=${sessJwt}`, //not actual, just pseudo
'integration-key': `${integrationKey}`//not actual, just pseudo
}
})
.then(response => {
var reportResponse = response.data;
console.log(reportResponse);
})
}