17 Apr

JavaScript function to send http commands via htaccess for remote control

In our recent post Remote Control Raspberry via Apache2 Web Server we explained how to receive a command on an apache2 web server. If we want to send this command e.g. via an android app, we need some code to accomplish this task without any browser. Thus, we show how to write a JavaScript function to send http commands via htaccess for remote control a raspberry pi or any other web accessible http(s) server.

You might think you find a typo and it should say Java instead of JavaScript. But we are aware of that. If you want to use Java, we will present a guide on that soon. This post applies JavaScript, because you … read more.