JavaScript Node.js Basics Building a Command Line Application Planning Our Project

Edward Pledger
Edward Pledger
2,757 Points

Node.js Basics Command Line Application Theory Question

I'm was building the command line application when a question came to me. I enjoy learning how to retrieve information through the JSON version of a web page, but in the real world would a programmer retrieve this information as they do in the video or pull it from the database?

I realize too if you're a third party trying to get this information you almost certainly don't have access to the database, but just curious.

Thanks!

1 Answer

Steven Parker
Steven Parker
145,805 Points

If you're building a complete application using a database, you would likely use other methods to fetch the data on your own system. But the method used to access an API on another party's system would be the same as the one demonstrated here.