Closed
Description
I am making an electron app. http.Client
works for render process (inside chromium JavaScript) but doesn't work from main process (node js)
It says an error about it not being supported.
How can I make requests from the main process? The compatibility table says I need a polyfill? Why does node js need a polyfill when it works from within chromium. What's the difference?
Is it better to use node library directly or perhaps axios library?