CloudArcade

Hands-on emulator lab · 6–10 min

Give your app a front door — API Gateway and Lambda

Create an API front door and give its GET method a mock integration.

These actions use an isolated AWS Emulator. It stores API state locally; it does not create paid cloud resources or run the full hosted AWS service.

Your goal

Create an API front door and give its GET method a mock integration.

Why this matters

An API method needs to know how to handle a request. A mock integration can describe a response before a backend exists. You will create the method and read its saved integration.

Words you will use

An API lets programs talk. A route pairs an action such as GET with a path such as /hello. A token is a signed piece of data used to check a sign-in.

How to proceed

Start a fresh emulator, read each numbered step, and enter the practice settings shown. Run the action, inspect its API receipt, then continue. Finish lab checks the emulator state again before saving your progress.

Start this hands-on lab

1. Create a REST API

Create a practice API and retrieve its root resource. An API resource describes an address your application can serve. Keep the returned API and resource IDs for the next request.

2. Add the GET method

Add a GET method to the root and attach a MOCK integration. This is a useful way to describe a response before a backend exists. This lab saves API configuration; it does not deploy a public URL.

3. Inspect the integration

Read the GET integration and find type MOCK. The check uses the emulator’s stored method, so reading the instructions alone cannot finish this lab.

Practice, then check your understanding

Perform the actions yourself and inspect the returned state. Errors keep your settings so you can retry. Starting another lab clears the previous live environment. Earned XP is kept, and signed-in achievements sync to your account. Replay does not award duplicate XP.

Read the official AWS documentation for service behavior and production details.

Continue with another AWS learning guide