Programming Foundations
APIs and HTTP Fundamentals
Every AI model you call is behind an API. Learn requests, responses, JSON, status codes and authentication.
- Beginner
- About 6 hours
- 3 modules
- 12 lessons
- Free
This course is not released yet. We publish courses one at a time, each one complete. The full syllabus is below.
What you will learn
- How the Web TalksWhat Is an API?, HTTP Requests and Responses, Methods: GET, POST, PUT, DELETE and more
- Data on the WireJSON, Headers, Query Parameters and Bodies and more
- Calling APIs From PythonThe requests Library, Handling Errors and Timeouts, Rate Limits and Retries and more
Course syllabus
Not released yet · full syllabus below
- 1
How the Web Talks
4 lessons- 1What Is an API?Soon
- 2HTTP Requests and ResponsesSoon
- 3Methods: GET, POST, PUT, DELETESoon
- 4Status CodesSoon
- 2
Data on the Wire
4 lessons- 5JSONSoon
- 6HeadersSoon
- 7Query Parameters and BodiesSoon
- 8API Keys and AuthenticationSoon
- 3
Calling APIs From Python
4 lessons- 9The requests LibrarySoon
- 10Handling Errors and TimeoutsSoon
- 11Rate Limits and RetriesSoon
- 12Project: Call a Public APISoon