JavaScript Node.js Basics Building a Command Line Application Making a GET Request with https

Seth Pabst
Seth Pabst
7,711 Points

What am I missing here?

It says I'm not passing the string, but I am??

app.js
const https = require('https');

 https.get("https://teamtreehouse.com/chalkers.json.");

1 Answer

Steven Parker
Steven Parker
179,763 Points

That last period was the end of the sentence and is not part of the URL string to use. It's shown in a different font in the instructions, but that's really hard to see on a period.