Practice instructions
- Answer the multiple-choice questions first โ they make sure the concepts are clear.
- Do the tasks in order. Each task builds on the previous one.
- Tick โ the criteria when you achieve them โ progress is saved in your browser.
- Stuck? Open the help guide (AI prompts + detailed steps). Open the solution only at the end.
Part A โ Multiple-choice questions
Build the scenario โ an ordering exercise
Put the session project's steps in the right order. Get instant feedback.
Talking to an API
Task 1: Talking to an API
โ โโโโโฑ๏ธ 20 minPractice GET and POST against a practice API.
๐ Requirements
- HTTP GET to
https://jsonplaceholder.typicode.com/users/1. - HTTP GET with a query:
/posts?userId=1โ how many posts came back? - HTTP POST to
/postswith a JSON body (title, body, userId). - Check the status code in each one.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"statusCode": 201,
"data": {
"id": 101,
"title": "Hello"
}
}๐ฌ Stuck? To the guided solution with a click simulation โ
โ Success criteria (tick when achieved)
๐ก Hints (open only if you are stuck)
- Body type: Raw โ Content type: JSON (application/json).
- length(data) to count the posts.
A first webhook with a response
Task 2: A first webhook with a response
โ โ โโโโฑ๏ธ 25 minCreate a webhook that receives a name and returns a greeting as JSON.
๐ Requirements
- A custom webhook named
hello. - Send from Hoppscotch: POST with
{"name":"Dana"}. - Webhook response with status 200 and a body
{"greeting":"Hello Dana!"}. - Header: Content-Type: application/json; charset=utf-8.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"name": "Dana"
}๐ฌ Stuck? To the guided solution with a click simulation โ
โ Success criteria (tick when achieved)
๐ก Hints (open only if you are stuck)
- Create JSON needs a data structure โ Add โ Generate โ paste an example.
- In Run once, send the request only after you clicked.
A secure leads API
Task 3: A secure leads API
โ โ โ โโโฑ๏ธ 45 minBuild the session project: a secure webhook with validation and correct responses.
๐ Requirements
- Get request headers on.
- 401 when x-api-key is missing or wrong.
- 400 when there is no email or it's invalid, with a clear message.
- 201 with leadId, score and message when everything is valid.
- Test all 3 cases.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ฌ Stuck? To the guided solution with a click simulation โ
โ Success criteria (tick when achieved)
๐ก Hints (open only if you are stuck)
- Use
get(map(1.__IMTHEADERS__; "value"; "name"; "x-api-key"); 1). - Header names arrive in lowercase.
Calling an external API for enrichment
Task 4: Calling an external API for enrichment
โ โ โ โโโฑ๏ธ 30 minAdd real enrichment: estimating gender/age by first name (a free API) โ as practice in calling an API.
๐ Requirements
- HTTP GET to
https://api.genderize.io?name=โฆwith the first name. - Handle the case where the API fails (the scenario doesn't stop).
- Add the result to the response.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"statusCode": 200,
"data": {
"name": "dana",
"gender": "female",
"probability": 0.98
}
}๐ฌ Stuck? To the guided solution with a click simulation โ
โ Success criteria (tick when achieved)
๐ก Hints (open only if you are stuck)
- The first name:
first(split(name; " ")). - This is API practice, not a business decision.
Automatic check of your scenario
Finished building? Export the scenario from Make and get instant feedback: missing modules, Router, filters, error handling, empty fields and even API keys left in the file. A score of 80+ = the scenario is verified and goes into your portfolio.
Part C โ Challenge ladder (pick a level)
Every student has their own pace. Pick the level that suits you now โ and when you finish, go up a level.
sha256(body; ; secret) (see the docs) and return 401 when it doesn't match.Bonus challenge
Documenting your API: write a short "API Docs" page (it can be in Google Docs) for a developer who wants to use the leads API: address, method, headers, a body example, examples of each response and status codes. That is what sets professional automation apart.
Done? There is more!
For students who want more: the challenges page has 3 exercises at advanced, expert and boss level โ each with a simulation and a guided solution.