Port is where my information should belong to, like Node or HTML.
MIME is a standard for the type of data being sent.
var http = require('http');
var fs = require('fs');
http.createServer(function (req, res) {
res.writeHead(200, { 'Content-Type': 'text/html' });
var data = fs.readFileSync('index.html', 'utf8');
var message = 'Hello Luiji!';
data = data.replace('{message}', message);
res.end(data);
}).listen(1337, '127.0.0.1');
fs.createReadStream('index.html', 'utf8').pipe(res);
An endpoint is a particular URL in a web API.
Serialize means translating an object into a format that can be stored or transferred.
Routing is mapping HTTP requests to a specific content.