Articles tagged "flask"
Flask REST API Complete Guide 2026 — POST, abort, gunicorn, nginx
Build a Flask REST API in 2026. Covers POST endpoints, request.get_json(), flask.abort() with JSON, gunicorn workers, and nginx reverse proxy. Flask 3.x with examples.
Flask API POST Request: Complete Guide to Handling POST Data
Learn how to handle POST requests in Flask. This tutorial covers receiving JSON, form data, file uploads, validation, building REST APIs, and advanced Domain-Driven Design (DDD) architecture patterns.
Flask API POST Request: Handle JSON Data [Complete Tutorial]
Learn how to handle POST requests in Flask API. Complete tutorial with JSON data handling, validation, error handling, and testing with curl and Postman.
Flask abort with json example
In this short tutorial we show an example on how to return a json when using flask.abort: abort(jsonify(message="Message goes here"), 400). See alse an alternative using flask handlers to return a json.
Flask-Security: NoneType has no attribute send
Check here the solution of the flask-security error AttributeError: 'NoneType' object has no attribute 'send'. You need to configure flask-mail.
Flask: How to Test file upload
Example on how to test file upload using flask client. Check here how to do a request using the FlaskClient to simulare a file upload. You need to put a tuple in the request payload with the data types: ( Follow this steps to configure flask application with gunicorn wsgi using nginx. We also extend the tutorial for load balance flask application using nginx. We will explain everything from installation to boot scripts for gunicorn. In this tutorial we are going to explain how to create a webscokets application with python using flask. In this tutorial we explain how to build a REST API using flask. We try to create an environment similar to django (with management commands to migrate the database using flask).How to setup Flask with gunicorn and nginx with example
Create an application with websockets and flask
Start a flask project from zero: Building a REST API