'Node.js and Express.js proxy
I would like to create a proxy. When a user search for an url (www.amazon.com) I would like to see the URL in the terminal. But I can't really fin a solution.
const express = require("express");
const app = express();
app.get("", (req, res, next) => {
console.log(req.url);
});
const port = 8888;
app.listen(port, console.log(`Listening on port ${port}.`));
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
