Make HTTP requests in node or the browser