TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Tutorial

Learn API authentication

Most API bugs that make the news are authentication bugs: a token that never expired, a check that ran on one endpoint and not the next, a signature nobody verified. This tutorial goes through the ways APIs identify their callers, from a session cookie to OAuth 2.0, and shows how to test each one from the outside.

The authentication lesson in the API testing tutorial gives the overview in one page. These lessons go deeper, one scheme at a time. Every request was sent to the test endpoints at https://api.testingapis.com, which use published demo credentials, and the responses shown are the ones that came back. The endpoints need a free account; the examples and Send buttons work once you're signed in.

8 lessons3 levelsFree