@AdamSaleh You are using client.js in the beginning of slides and then in the second half cli.js
Now we can continue with our cli util
we will need a way to send http requests
npm install --save request
npm install --save request-promise
lets configure the library in our cli.js
const request = require('request-promise');
let jsonRequest = request.defaults({
json: true
});
@AdamSaleh You are using
client.js
in the beginning of slides and then in the second halfcli.js