HTML and CSS Basics
Build and style a real web page from scratch, from first tag to responsive layout
Technology & ProgrammingHow apps talk to each other, from HTTP requests to designing your own API
Finish the 12 lessons (about 2 h 25 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.
Every app you use is quietly talking to other software. A weather app asks a forecast service for data, a checkout page asks a payment service to charge a card, and a map inside a ride-sharing app comes from yet another company. Those conversations happen through APIs, and most of them use the same two building blocks: REST and JSON.
This free course explains how it all works, from the first request to designing an API of your own. You'll start with what an API is and take a real HTTP exchange apart: URLs, methods, headers, bodies and status codes. Then you'll learn JSON thoroughly, including the strict rules that make one stray comma break a whole response, and practice parsing, serializing and reshaping JSON data in JavaScript and Python.
The REST module covers resources and URLs, statelessness, how create, read, update and delete map to POST, GET, PUT, PATCH and DELETE, which methods are safe to retry, and how to read and return useful errors. Next you'll use real-world techniques: query parameters, URL encoding, offset and cursor pagination, API keys, bearer tokens, OAuth, rate limits, timeouts and retries with exponential backoff. Finally, you'll design a clean, versioned, documented API and compare REST with webhooks, GraphQL, gRPC and WebSockets, plus the browser rule known as CORS.
The course is for students, junior developers, testers, analysts and anyone who works next to developers and wants to understand integrations. A little programming experience helps for the code challenges, which run in your browser, but every concept is explained from scratch. Lessons mix short explanations with calculators, bug hunts, scenarios and coding exercises, and you can earn a free certificate of completion by passing the final exam.
Understand what APIs are, how clients and servers cooperate through contracts, and how HTTP requests and responses are built.
Read and write JSON correctly, then parse, serialize, validate and reshape API data in JavaScript and Python.
Design and read RESTful endpoints, map CRUD to HTTP methods, and interpret status codes and error responses like a professional.
Filter, sort and page through data, authenticate securely, respect rate limits, and call APIs robustly from JavaScript, Python and the command line.
Design consistent, versioned, well-documented REST APIs, and know when webhooks, GraphQL, gRPC or WebSockets are the better tool.
20 questions drawn from a pool of 32. Score 70% or more to pass; retakes get a fresh set of questions.
An API is only useful to programmers who work at the company that built it.
True or false?
Answer: False
Public APIs are designed for outside developers: thousands of independent apps use the same maps, payment and weather APIs. Many companies also use APIs internally, so different teams' services can work together through stable contracts.
An API (application programming interface) is a defined way for one program to ask another for data or actions. A web API is reached over the internet: the client sends an HTTP request to a URL, and the server replies with a response, usually containing JSON.
REST is an architectural style for designing APIs around resources, URLs and standard HTTP methods. JSON is a data format. Most REST APIs send and receive JSON, but they are separate ideas: a REST API could return XML or CSV, and JSON is used in many places that have nothing to do with REST.
No coding is needed to understand the concepts, and most exercises are questions, scenarios and calculators. The optional code challenges use short JavaScript functions; some experience in any language makes them easier.
PUT replaces the whole resource with the representation you send, so fields you leave out may be removed or reset. PATCH changes only the fields you send. PATCH is the usual choice for edit forms that change one or two fields.
401 Unauthorized means the server does not know who you are: credentials are missing, invalid or expired. 403 Forbidden means it knows who you are, but you are not allowed to perform this action. Retrying a 403 without changing permissions will not help.
No. GraphQL is popular for apps whose screens need different slices of connected data, but REST remains the most common style for public APIs because it is simple, cacheable and universally supported. Many companies use both.
No. It is a certificate of completion showing you finished the lessons and passed the final exam. It is a good way to show initiative, but it is not an academic or professional credential.
Build and style a real web page from scratch, from first tag to responsive layout
Technology & ProgrammingHTML, CSS and a little JavaScript, from a blank file to a site online
Technology & ProgrammingBig O, arrays, hash tables, trees, graphs, sorting and dynamic programming with hands-on code
Technology & ProgrammingVariables, functions, arrays, objects, the DOM and async code
Technology & ProgrammingFormulas, lookups, tables, PivotTables and charts from zero to confident
Technology & ProgrammingBinary, hardware, algorithms, code and the internet: the ideas behind every computer
Technology & ProgrammingCookies on education.com.info
We use necessary storage to save your course progress on this device. With your permission we also use analytics and advertising cookies.