Tag Archives: Flask

Raspberry Pi 3 Flask: Receiving HTTP POST Request from ESP32

In this tutorial we will check how to setup a simple Flask server on the Raspberry Pi and send HTTP POST requests to it from the ESP32. Then, we will access the body of the request on the Raspberry Pi. … Continue reading

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

Raspberry Pi Flask: Receiving HTTP GET Request from ESP32

In this tutorial we will check how to setup a very simple Flask server on the Raspberry Pi and send HTTP GET requests to it from an ESP32 running the Arduino core. This tutorial was tested on a Raspberry Pi 3 model … Continue reading

Posted in ESP32, Raspberry Pi | Tagged , , , , , , , , , | 3 Comments

Raspberry Pi 3 Raspbian: Exposing a Flask server to the local network

In this tutorial we will check how to expose a Flask server to the local network, so it can be reached from clients connected to that same network. This tutorial was tested on a Raspberry Pi 3 model B+, running version 4.9 of Raspbian, … Continue reading

Posted in Raspberry Pi | Tagged , , , , , , , | 2 Comments

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 , , , , , , | 4 Comments

ESP32 Arduino: Basic Authentication

The objective of this post is to explain how to send a HTTP GET request using basic authentication on the Arduino core running on the ESP32. 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 , , , , , , , , , | 5 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: Posting JSON data to a Flask server on the cloud

The objective of this post is to explain how to make a POST request containing JSON data to a cloud server, with the ESP8266. The cloud server will be implemented using Flask and will be hosted in Pythonanywhere.

Posted in ESP8266 | Tagged , , , , , , , , , , , , , , , , | 11 Comments