Wednesday, 15 July 2020

All these ways to make HTTP requests.. Too many options, choice paralysis

I'm preparing for a NodeJS certification and diving into NodeJS a bit more than usually (casual user - Frontend Dev).I realized that besides the core modules (http/https) that I'm in the process of studying extensively, there's of course libraries which we also use on the client-side (Axios, node-fetch/window fetch), there's Bent etc.How would you go about choosing a way to make your requests? I'm guessing the Node core modules give you the best performance/smaller dist in your app/server while libraries as usual give you an abstracted, easier to work with API?

Submitted July 15, 2020 at 07:55PM by gkatsanos

No comments:

Post a Comment