feedhenry / nodeschool

Node.js / Server side JavaScript development course curated by Red Hat Mobile
2 stars 7 forks source link

Not consistent file name usage in notebooks/Workshop.ipynb #15

Closed mmusil closed 7 years ago

mmusil commented 7 years ago

@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
});