Flask in Python - GET, POST, PUT, DELETE with curl Testing #39
10views
1likes
015:41
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn Flask! In this tutorial, you will learn how to build REST APIs using Flask, a lightweight Python web framework that gives you full control over your code.
What you will learn:
- Creating a Flask application with app.route decorators
- Defining GET endpoints with path and query parameters
- Using jsonify to return JSON responses
- Handling POST requests with request.get_json()
- Manual validation of request data
- Returning custom status codes with tuple returns (201, 400, 404)
- Building a full CRUD API (Create, Read, Update, Delete)
- Filtering results with query parameters
- Testing APIs with curl from the command line
- Pretty-printing JSON output with python3 -m json.tool
Timestamps:
0:00 - Introduction
0:33 - Flask Basics Explained
1:00 - Flask Basics Demo
4:31 - POST Requests Explained
4:58 - POST Requests Demo
8:39 - Task API Explained
9:06 - Task API Demo
14:05 - Recap
14:45 - End
Source code: https://github.com/GoCelesteAI/python_flask
Previous: Lesson 38 - FastAPI Basics
Next: Lesson 40 - Packaging
Coming soon!
---
Python Tutorial for Beginners playlist - Learn Python from scratch with hands-on coding demos.
#Python #Flask #PythonTutorial #RESTAPI #CRUD #LearnPython #PythonForBeginners #CodingTutorial #WebDevelopment #curl
Tags: Python, Flask, REST API, CRUD, Python Tutorial, jsonify, request, routes, curl, web framework, Python for beginners, learn Python, coding tutorial,
CelesteAI, API development, GET, POST, PUT, DELETE
Back to tutorialsOpen in YouTube
Duration
15:41
Published
February 13, 2026
Added to Codegiz
March 15, 2026