Index Ai Academy
Glossary · Phase 8 · APIs

Preflight

A browser's check request, sent before a cross-origin call, asking whether the server allows it.

Try it now

A hit costs 8 ms and the servers do nothing. A miss costs 8 + 120 = 128 ms.

Learn it properly

Running APIs in production · Versioning, CORS, caching, request ids and health checks. About 45 minutes.

Other terms from the same lesson

  • CDN: Servers around the world that keep copies of content close to users, so it loads faster.
  • CORS: Headers a server sends to tell browsers which other websites may read its responses.
  • load balancer: A service that spreads incoming requests across several copies of a server.
  • request id: A unique id for one request, put in every log line and the response, so its trail can be found later.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 8 · lesson 45 min

Running APIs in production

Versioning, CORS, caching, request ids and health checks.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write