Res should print json data to console. But returns undefined instead. Printing the error outputs “invalid protocol …”

```
const request = require('request')
const cout = console.log
const url = 'http://api.weatherstack.com/current?access_key=XXXXXXXXXXXXXX&query=37.8267,-122.4233'
request( {url: url}), (err,res) => { console.log(res) }) 

```

This is the error i get when i print the error arg

```
Error: Invalid protocol: 127.0.0.1:
    at Request.init (/home/toyo/Dev/Udacity/NodeJS/weather-app/node_modules/request/request.js:458:31)
    at new Request (/home/toyo/Dev/Udacity/NodeJS/weather-app/node_modules/request/request.js:127:8)
    at request (/home/toyo/Dev/Udacity/NodeJS/weather-app/node_modules/request/index.js:53:10)
    at Object.<anonymous> (/home/toyo/Dev/Udacity/NodeJS/weather-app/app.js:6:1)

```

I am not sure if it matters but I am running this on parrot os