Javascript e Web API

I have heard that with nodejs we cannot use the web API.
Can anyone tell me why?


There are a ton of Web APIs so it will depend on which one(s) you are referring to. But ya, node doesn’t run in a browser, so it won’t have a lot of the browser-specific APIs.

bbsmooth, Thanks :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

Probably the biggest one that people moan about is the lack of fetch() in Node. Since the Node standard library HTTP system is unwieldy to say the least, most people reach for a third-party package.

Thanks colinthornton, :smiley: :smiley: :smiley: :+1: :+1: :+1: :+1:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.