Python requests: HTTP and HTTPS requests, GET and POST methods, connecting to APIs with Python

Veröffentlicht am: 26 April 2022
auf dem Kanal: Python Hub Studio
141,047
4.6k

In this video, we'll learn how to work with the internet using Python and the requests library, how to connect to an API and retrieve website data for applications, and how to understand the intricacies of GET and POST requests to websites and APIs. We'll also learn how to fill out website forms and log in using Python.

00:00 Introduction
00:55 Project Preparation (optional step)
02:06 Installing the requests library
02:56 Get Request requests
03:40 Request status - status_code
05:51 Website response result - page text
07:04 Get request parameters, website search query
11:31 Connecting the weather website API
17:47 Simple request status check
19:08 JSON response from the weather API
22:43 Headers - Request response headers
24:07 Training website in JSON format jsonplaceholder.typicode.com
24:57 Website for testing requests httpbin.org
25:28 Headers - Changing request headers
30:40 POST requests
31:48 How to fill out a website form with a POST request
42:17 The realities of POST authorization
45:08 Session and cookies

🎓 My courses on Udemy with a discount + 🧾 certificate of completion:
❤️ Python https://tukas.dev/python-full-course/
💛 Docker https://tukas.dev/docker-full-course/
💚 WSL (free) https://tukas.dev/wsl-setup-course/

🧩 Answers to questions about courses ⬆️:
🔹 You can take the course at any time and at your own pace (there is no time limit).
🔹 Lifetime access to the course and all future updates and additions.
🔹 Select "One-time purchase" instead of "Subscription" to get the best deal on the selected course permanently at the lowest price using the promo code embedded in the links above.
🔹 You can get a certificate of completion for the full course on Udemy (except for the free WSL course).
🔹 YES, my support team is there👍 if you have any questions during the course!

💡All my courses on YouTube:
🔷🔥New Python course on YouTube [12 hours]:
   • Курс Python с Абсолютного нуля! [12 часов ...  
🔷 HTML & CSS (7 hours):
   • Учим HTML и CSS за 7 часов! Уроки по созда...  
🔷 Python (7 hours):
   • Экспресс курс по python за 7 часов!  
🔷 Python Roadmap, what to learn:
   • Что реально пишут на python, что учить и к...  
🔷 Docker & Docker Compose
🔹 YouTube course (4 hours):
   • Docker и Docker Compose - Полный Курс Dock...  
🔷 Django (18 hours) Hours):
   • Полный курс уроков по Django python  
🔷 Telegram bot in Python (aiogram):
   • Telegram бот на python. Курс по разработке...  
🔷 Website parsing in Python:
   • Курс Парсинга на Python  
🔷 Express tutorial on Python OOP (music in the first video only):
   • Полный курс уроков обучения ООП Python  
🔷 And other videos on the channel!


Auf dieser Seite können Sie das Online-Video Python requests: HTTP and HTTPS requests, GET and POST methods, connecting to APIs with Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python Hub Studio 26 April 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 141,047 Mal angesehen und es wurde von 4.6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!