What You’ll Learn


A Controlled Connection

API stands for Application Programming Interface. The name is technical, but the job is simple: it gives software a defined way to communicate.

Think of a restaurant server

You choose from a menu and give your order to the server. The kitchen prepares what you requested, and the server brings back the result. You do not walk into the kitchen or need to understand its entire system.

An application sends an approved request through an API to a service. The service checks the request and returns a limited response to the application.

Request, Check, Response

  1. An application sends a request: “What is today’s weather for Vancouver?”
  2. The API checks whether the request follows its rules and has permission.
  3. The weather service finds the requested information.
  4. The API returns a structured response.
  5. The application turns that response into the forecast you see.

If the request is unclear, unavailable or unauthorized, the API returns an error instead of the requested result.


APIs You May Already Use

MAPSA delivery or travel app requests routes, distances and locations from a mapping service.
SIGN-IN“Continue with Google” or another provider lets a service confirm your identity without receiving your account password.
PAYMENTSAn online store sends transaction details to a payment provider and receives an approved or declined response.
WEATHERAn app requests current conditions from a service that collects and maintains weather data.

An API is not the whole service

It is the agreed doorway. It exposes particular information or actions while keeping the service’s internal systems separate.


What an API Request Contains

Requests vary, but they commonly identify:

The response usually uses a consistent structure so the receiving software knows which value is a date, name, price or status.


Permissions, Privacy and Trust

APIs make useful connections possible, but a connection should receive only the access it needs.

Read the permission screen

Before connecting an app, check whether it can only view information or can also create, change or delete it. Avoid granting access that does not make sense for the task, and remove connections you no longer use.

A familiar sign-in button does not automatically make the new service trustworthy. Check who operates it, what information it requests and how to disconnect it later.


Try It: Be the API

Imagine a community-centre system with these approved requests:

What should happen if an unsigned visitor requests GET everyone’s bookings?

Show the answer

The API should refuse the request. It is not on the approved menu, exposes other people’s information and lacks proper authorization. A safe response gives an error without revealing the private records.


Quick Knowledge Check

1. Does an API normally reveal an entire internal system?

Answer

No. It provides defined requests and responses through a controlled interface.

2. What are the two basic parts of an exchange?

Answer

A request and a response.

3. What should you check before connecting two services?

Answer

Check the provider, the requested permissions, the information being shared and how to remove access later.


What to Remember

PATH COMPLETE

You finished Technology Fundamentals

You can now explain the basic relationship between devices, software, information, cloud services, databases and connected applications.

Review the Technology Fundamentals path →