webserver trick


Tiny webserver for testing

Here’s a handy little script. Save the following as webserver.js. This will set up your Raspberry as a bonafide web server that you can use for testing proxy services or your monitoring scripts. // Load the http module to create an http server. var http = require(‘http’); // Configure our HTTP server to respond with […]

Read More