Making HTTP Requests With Python

The requests library is the de facto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on interacting with services and consuming data in your application.

Throughout this course, you’ll see some of the most useful features that requests has to offer as well as how to customize and optimize those features for different situations you may come across. You’ll also learn how to use requests in an efficient way as well as how to prevent requests to external services from slowing down your application.

What’s Included:

Downloadable Resources:

Related Learning Paths:

About Christopher Bailey

Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.

» More about Christopher

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for jramirez857

jramirez857 on Dec. 31, 2021

Great course! I had used requests before briefly and enjoyed filling in some gaps about its features.

Avatar image for mikesult

mikesult on May 5, 2020

Thanks Chris, great course. I expecially liked how you explained concepts using the REPL before getting to writing the scripts. It’s a great way to learn and experiment, I’m going to add more of that to my workflow.

Avatar image for juansebasvasquez

juansebasvasquez on Dec. 27, 2019

This was excellent - lots of context and foundational knowledge to help further ground and grow my scraping skills.

Avatar image for hithard

hithard on Sept. 1, 2019

Very simple way to explain complicated stuff. Thanks a lot

Avatar image for Abby Jones

Abby Jones on June 25, 2019

I am learning SO much about Python, VIM, and now bpython. RealPython is literally the best site I have ever learned from. It’s increasing my workflow productivity.

Avatar image for adriangaluszka

adriangaluszka on May 11, 2019

Great and up to date course!

← Browse All Courses