Replies: 3 comments 3 replies
-
fetch handles compression. for request you have to implement it yourself. Also there are still some improvements for fetch in the pipeline. like caching. Stuff you would need to implement yourself in request. |
Beta Was this translation helpful? Give feedback.
-
Is the error handling something that can be improved in the |
Beta Was this translation helpful? Give feedback.
-
The overall recommendation we give is to use They way If you are really seeking for interoperability and dependency-less option, |
Beta Was this translation helpful? Give feedback.
-
Assuming the code will always (TM) be executed with node, never in browser or another js runtime. Should I use fetch or request?
I'm tending towards request, but fetch being bundled and the compatibility is tempting...
fetch
pro
contra
request
pro
contra
8 votes ·
Beta Was this translation helpful? Give feedback.
All reactions