In this tutorial we build an application using Python based Flask framework to fetch all products from MySQL database and display on the HTML table. This example is all about to delete multiple rows from HTML as well as database tables. We will use IN clause with WHERE condition in MySQL query to delete multiple…

Posted in AJAX Flask jQuery MySQL Python

Delete Multiple Rows from Table using Flask, AJAX, jQuery, MySQL

Introduction In this post we will see how to create voting or rating system using Flask, MySQL and AJAX. We post tutorials, articles or blogs either on our own blog site or as a guest user to other sites. Sometimes we need to let user rate on our tutorials or articles or blogs so that…

Posted in AJAX Flask jQuery MySQL

jQuery AJAX based Voting or Rating System using Flask and MySQL

Introduction In this example we will see how to display data on XChart using AJAX, jQuery, Python Flask and MySQL. XChart displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. This tutorial shows step by step so that we can understand how it happens. It…

Posted in AJAX Flask jQuery Python

AJAX jQuery based XChart Example using Python Flask MySQL

Introduction This example is about to upload multiple files using Python Flask REST API. We have also seen how to upload single file using Python Flask REST API. We may need to upload single or multiple files according to application’s requirements and here we are going to create an example on Python Flask REST API…

Posted in File Upload Flask Python REST

Python Flask REST API Multiple Files Upload

Introduction I will create here Python Flask REST API file upload example though you might have seen how to upload file using Python Flask in web application. You may need to upload a single file or multiple files into your application for a reason and here I am going to use light-weight web based Python…

Posted in File Upload Flask Python REST

Python Flask REST API File Upload Example

Introduction In this post we will see how to secure REST API with JWT authentication using Python Flask. JWT is an acronym for JSON Web Token. In previous example we have seen how to secure REST API using HTTP Basic Authentication which is not recommended for most of the time. Recommended Reading REST API CRUD…

Posted in Flask Python Security

Securing REST API: JWT Authentication using Python Flask

Introduction We will see an example on how to secure REST API using Python Flask. We will create a Python Flask HTTP Basic Authentication. Most of the web services that require authentication accept HTTP Basic Authentication. This is the simplest one, and request supports it straight out of the box. This HTTP basic authentication is…

Posted in Flask Python Security

Securing REST API: Python Flask HTTP Basic Authentication

Introduction I will create an example on how to use query parameter in REST API GET request with Python Flask. HTTP GET method is used to fetch data from the server. So here I will use GET method to fetch data from server and send to the client. Query parameter is used with GET method…

Posted in Flask Python

Query Parameter in REST API: GET Request with Python Flask

Introduction In this post we will see Angualr + Python Flask REST API MongoDB CRUD Example. We will use our existing tutorial on Python Flask REST API MongoDB CRUD Example for server side and we will introduce Angular on UI or front end side. You can also use any UI technologies, such as React JS, HTML, JavaScript,…

Posted in Angular Flask MongoDB Python

Angular + Python Flask REST API MongoDB CRUD Example

Introduction In this post we will implement Python flask REST API MongoDB CRUD example, where CRUD means Create, Read, Update, and Delete operations. So we will perform these CRUD operations on MongoDB. We will create REST or RESTful API using Flask in Python. We need to install the required module Flask-PyMongo for connecting to MongoDB…

Posted in Flask MongoDB Python

Python Flask REST API MongoDB CRUD Example

Introduction Here we will see Python REST APIs + Flask + Angular CRUD Example. We will use our existing tutorial on Python REST API CRUD Example using Flask and MySQL for server side and we will introduce Angular on UI side. So go through it before proceeding further down. Recommended reading: Python web application CRUD example using Flask…

Posted in Angular Flask Python

Python REST APIs + Flask + Angular CRUD Example

Introduction Here you will see Python REST API CRUD Example using Flask and MySQL. You might have also seen how to create web application CRUD example using Python, Flak and MySQL. You may also like to read REST APIs in Java and Spring Technologies. What is REST or RESTful? The most important concept in REST…

Posted in Flask MySQL Python REST

Python REST API CRUD Example using Flask and MySQL