Computer scienceBackendNode.jsCore ConceptsInternal modulesHTTP serverhttp module

Sending requests

Get request

Report a typo

Write the simplest GET request to URL - http://myapi.com/ which stores the apiUrl variable. There's no need to handle the response, thus, don't include a callback function in the request.

Enter a short text
___

Create a free account to access the full topic