jonasschmedtmann / complete-node-bootcamp

Starter files, final projects and FAQ for my Complete Node.js Bootcamp
https://www.udemy.com/nodejs-express-mongodb-bootcamp/?couponCode=GITHUB515
3.13k stars 3.63k forks source link

The Problem with Callbacks: Callback Hell #156

Open maged28 opened 2 years ago

maged28 commented 2 years ago

in The Problem with Callbacks: Callback Hell lesson

I just want to know the retriever string in dog.txt how it's working with

superagent.get(https://dog.ceo/api/breed/${data}/images/random).end((err, res) => { console.log(res.body.message); });

when I play with retriever string by change some letters then it will not working !! the retriever it's the results of data that's clear but the retriever it self from where it's coming ?