Free course · No signup

API 101: Free API Testing Tutorial for Beginners

Learn APIs from zero: what an API is, how HTTP requests and responses work, methods, status codes, REST, GraphQL and SOAP, and authentication — then write your first tests. 22 short lessons, each with a real request you run against a live sandbox.

Lessons
22
Level
Beginner
Signup
None

Start here: pick your role

Each role starts somewhere different. Pick the one closest to yours and begin with that lesson.

Manual tester going automated

You test APIs by hand in Postman and want automation without a coding career change.

Start with: What is an API? →Start free

Automation engineer

You write tests in Rest Assured, Playwright or pytest and want to cover more endpoints, faster.

Start with: API negative testing →Start a 15-day trial

Developer or tech lead

You own the OpenAPI spec and want schema changes caught before they break a consumer.

Start with: Testing validation errors →Start a 15-day trial

DevOps or platform engineer

You own pipelines and environments and care about gates, self-hosting and secrets.

Start with: Retries and timeouts →Talk to our architect

QA or engineering leader

You are replacing ReadyAPI, Tosca or SOAtest and need strategy, coverage and governance.

Start with: What is shift-left testing? →Talk to our architect

9 tracks, from first request to shift-left pipeline

  1. Track 1 · 5 lessons

    API Fundamentals for Beginners

    What an API is, requests and responses, HTTP methods, status codes and pagination.

  2. Track 2 · 10 lessons

    REST, GraphQL, SOAP and WebSockets Explained

    How REST, GraphQL, SOAP and WebSockets work, and how they differ.

  3. Track 3 · 4 lessons

    API Authentication Explained

    API keys, JWTs, OAuth 2.0 and token refresh: the auth concepts behind every protected API.

  4. Track 4 · 3 lessons

    API Testing Basics: Your First Test Patterns

    Negative testing, retries and timeouts, and validation errors: the first test patterns to learn.

  5. Track 5 · Coming soon

    OpenAPI, Contract and Schema Testing

    Generate tests from an OpenAPI spec, validate schemas and catch contract drift before merge.

  6. Track 6 · Coming soon

    Test Data, Mocks and End-to-End API Testing

    Mock servers, mocks versus stubs, test data generation and end-to-end API flows.

  7. Track 7 · Coming soon

    API Testing in CI/CD, Regression and Performance

    Pipeline gates, regression packs, load testing and monitoring for your APIs.

  8. Track 8 · Coming soon

    AI and Shift-Left Testing Strategy

    Shift-left in practice, AI test generation, LLM testing and agentic testing.

  9. Track 9 · Coming soon

    Shift-Left API in Depth

    The 12-step product journey, from first project to CI, one feature per lesson.

Who API 101 is for

API 101 is for anyone starting out with APIs: manual testers moving into API testing, new QA engineers and SDETs, frontend developers who consume APIs, and product people who want to validate an integration themselves. You don't need to code. Every lesson explains one concept in plain English and pairs it with a request you can run from the page, so you see real JSON, headers and status codes instead of screenshots.

How the sandbox works

Lessons are wired to a public sandbox API hosted by Total Shift Left. Click Run and the request goes to a real server over HTTPS. Change headers, swap payloads and break things on purpose — nothing to install, no API keys to manage.

The API 101 course path

Work through the steps in order. Each one builds on the last.

  1. What is an API?

    Clients, servers, endpoints and your first real request.

  2. Requests and responses

    URLs, headers, bodies, query parameters and pagination.

  3. HTTP methods

    GET, POST, PUT, PATCH and DELETE, and what idempotent means.

  4. HTTP status codes

    What 2xx, 4xx and 5xx tell you, and which codes to expect.

  5. REST, GraphQL and SOAP

    The main API styles, how they work and how they differ.

  6. Authentication concepts

    API keys, JWTs, OAuth 2.0 and refreshing tokens.

  7. Write your first API tests

    Send a request, assert on status and body, and save it as a test.

  8. Negative testing

    Prove the API fails safely on bad, hostile and boundary input.

  9. Retries and timeouts

    Test how clients and APIs behave on slow or failing networks.

  10. Validation errors

    Make every bad request fail in one predictable, testable shape.

All lessons by section

1. API Fundamentals for Beginners

What an API is, requests and responses, HTTP methods, status codes and pagination.

View all (5) →

2. REST, GraphQL, SOAP and WebSockets Explained

How REST, GraphQL, SOAP and WebSockets work, and how they differ.

View all (10) →
beginner·8 min

What is a REST API? The Definitive Guide

REST is the default API style on the web. Here's what it actually means — stripped of jargon and with runnable examples.

beginner·7 min

REST CRUD Explained: Create, Read, Update, Delete Walkthrough

CRUD is the heartbeat of REST. Create, Read, Update, Delete — walked through end to end.

beginner·6 min

PATCH vs PUT: The Difference That Trips Everyone

PUT replaces. PATCH modifies. Here's the subtle but critical difference — and why it matters for testing.

intermediate·9 min

RESTful Best Practices: Conventions That Make APIs Predictable

Fifteen conventions that make REST APIs a joy to use — and the absence of any one is a smell.

beginner·8 min

What is GraphQL? A Practical Introduction for Testers

GraphQL lets the client decide what data to fetch. Here's how it works and when it beats REST.

intermediate·7 min

GraphQL Queries vs Mutations: When and How to Use Each

Queries read. Mutations change state. Here's the divide — and how to write both correctly.

beginner·8 min

What is SOAP? A Modern Tester's Guide to a Still-Alive Protocol

SOAP isn't dead — it runs banks, insurance, and government. Here's how it actually works.

intermediate·7 min

WSDL Explained: The Contract Behind Every SOAP API

WSDL is the WSDL — Web Services Description Language. It's the source of truth for every SOAP API. Here's how to read it.

intermediate·9 min

What Is SOAP Testing? WSDL, Envelopes and Faults

SOAP testing is different. XPath, XSDs, SOAP Faults. Here's how to do it without losing your weekends.

intermediate·8 min

WebSockets Intro: Real-Time APIs and How to Test Them

WebSockets are persistent, full-duplex, and weirdly under-tested. Here's a practical guide.

3. API Authentication Explained

API keys, JWTs, OAuth 2.0 and token refresh: the auth concepts behind every protected API.

View all (4) →

4. API Testing Basics: Your First Test Patterns

Negative testing, retries and timeouts, and validation errors: the first test patterns to learn.

View all (3) →

API testing for beginners: FAQ

How do I start learning API testing as a beginner?+

Start with what an API is and how a request and response are built, then learn HTTP methods and status codes. Once those make sense, learn how REST, GraphQL and SOAP differ and how authentication works, and only then write your first tests. API 101 follows exactly that order.

Is this API testing tutorial free?+

Yes. Every API 101 lesson is free to read and run, with no signup and no credit card. The lessons call a public sandbox API hosted by Total Shift Left.

Do I need to know how to code to learn API testing?+

No. API 101 starts from zero: you read raw HTTP requests and responses and run them from the page. Coding helps later when you automate tests, and the course links to beginner guides for Postman and Python when you get there.

Do I need to install anything?+

No. Lessons run in your browser and send real HTTPS requests to the sandbox, so you can inspect actual JSON, headers and status codes without installing Postman, curl or an SDK.

How long does the API 101 course take?+

Each lesson takes 6 to 11 minutes. Working through the whole course path, including running the sandbox requests, takes a few hours spread over as many sessions as you like.

What should I learn after API 101?+

Move to the blog hubs: the API testing hub for complete guides and test-case examples, test automation for tools and frameworks, and OpenAPI and contract testing for spec-driven tests. To practice on your own APIs, the Free Developer License of Shift-Left API is free for one user and renews every 6 months.

Next step — free

Take what you've learned to your own APIs.

The Free Developer License of Shift-Left API is a single-user license that renews free every 6 months. Import an OpenAPI spec, generate tests, mock APIs and run workflows on your own machine. No credit card.

Free Developer License: 1 user, 50 endpoints, 50 mocks, 50 workflows, AI test generation with your own model key.