Tag Archives: Flask

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: 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

Flask: Parsing JSON data

The objective of this post is to explain how to parse and use JSON data from a POST request in Flask.

Posted in Python | Tagged , , , , , , , | 11 Comments

Python anywhere: Forcing HTTPS on Flask app

The objective of this post is to explain how to force HTTPS on a deployed Flask application on pythonanywhere.

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

Python anywhere: Deploying a Flask server on the cloud

The objective of this post is to explain how to configure a Flask server on the cloud and create a simple hello world application.

Posted in Python | Tagged , , , | 5 Comments