I've created a small Node app to get the jobs from the GitHub jobs API. I'm using the module request
to do this. You can see the code below:
const request = require("request");
const url ="https://jobs.github.com/positions.json?search=remote";
request.get(url, (error, response, body) => {
let json = JSON.parse(body);
console.log(
`Data: ${json}`,
);
});
I would appreciate your help printing a JSON object, at the moment it just prints [object, Object]
.