Sunday, 4 August 2019

How do I promise-ify a http request?

Just recently started learning Node One of the most used starter examples is building a weather web app I did make one, but I wanted to modify it so that it uses promises instead of callbacks to learn them well. If anyone knows how to do it? Either with axios or await is good. I really need help (Here's my webapp for code: https://github.com/TheNinthOne/weather)

Submitted August 04, 2019 at 02:34PM by 01001111_

No comments:

Post a Comment