4Geeks chosen to deliver AI education in the Bahamas alongside Harvard, Oxford, and Columbia.See more
The AI Reskilling Platform

Learn how to build HTTP requests with Python

Learn interactively to consume and create HTTP requests to APIs using Python
Course Report Badge 2025

Get Free Access

Sign up and get access to this free interactive tutorial

In this series you will Learn HTTP (Hypertext Transfer Protocol) and how to use the Python requests package to create HTTP requests GET, POST, PUT, DELETE.

The entire tutorial is 👆 interactive, ✅ auto-graded and with 📹 video tutorials.

These exercises were built in collaboration, we need you! If you find any bugs or misspells, please contribute and report them.

How are the exercises organized?

Each exercise is a small react application containing the following files:

  1. app.py: represents the entry python file that will be executed by the computer.
  2. README.md: contains exercise instructions.
  3. test.py: you don't have to open this file, it contains the testing script for the exercise.

Note: The exercises have automatic grading, but they're very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated.

Contributors

Thanks goes to these wonderful people (emoji key):

  1. Alejandro Sanchez (alesanchezr), contribution: (coder) 💻, (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 👀, (build-tutorial) ✅, (documentation) 📖

  2. Paolo (plucodev), contribution: (bug reports) 🐛, contribution: (coder) 💻, (translation) 🌎

This project follows the all-contributors specification. Contributions of any kind are welcome!

This and many other exercises are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sánchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.