Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http package (net/http: neither of Fetch nor XMLHttpRequest APIs is available) #839
I am making an electron app.
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?
Node doesn't seem to provide either one by default, that's why you need a polyfill (either for Fetch or for XHR) for