Tag Archives: HTTP

Raspberry Pi 3 Raspbian: Running a Flask server

In this tutorial, we will check how to start a very simple Flask server on the Raspberry Pi and return a “Hello World” message to clients that send a request to it. This tutorial was tested on a Raspberry Pi 3 model … Continue reading

Posted in Raspberry Pi | Tagged , , , , , , | 1 Comment

ESP32 Arduino: Getting weather data from API

In this tutorial, we will check how to use the ESP32 to request weather data from an API for a given city, using the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.

Posted in ESP32 | Tagged , , , , , , | Leave a comment

ESP32 Arduino HTTP server: controlling a relay remotely

In this ESP32 tutorial, we will check how to remotely control a relay using the Arduino core and the HTTP async web server libraries for the ESP32.

Posted in ESP32 | Tagged , , , , , , , , , | 2 Comments

ESP32 Arduino HTTP server: route not found handling

In this ESP32 tutorial, we will check how to define a custom handling function to be executed when a route is not found on a HTTP web server running on the ESP32. The tests of this ESP32 tutorial were performed using … Continue reading

Posted in ESP32 | Tagged , , , , , , , , | 2 Comments

ESP32 Arduino HTTP server: external and internal redirects

The objective of this ESP32 exemple code is to explain how to perform redirects using the async HTTP web server libraries on the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.

Posted in ESP32 | Tagged , , , , , , | 6 Comments

Flask: Basic authentication

In this Flask tutorial, we will check how to get the username and the password from a HTTP request made to a Flask server with basic authentication.

Posted in Python | Tagged , , , , , | 2 Comments

ESP8266 Arduino: Asynchronous HTTP web server

The objective of this tutorial is to explain how to set an asynchronous HTTP web server on the ESP8266, using the Arduino core. This tutorial was tested on a DFRobot’s ESP8266 FireBeetle board.

Posted in ESP8266 | Tagged , , , , | 5 Comments