LOGBOOK

HELP

Quiz Entry - updated: 2026.06.23

Pulling it together: what makes a webservice fundamentally different from a website, and what are the main decisions when integrating one?

A website is built for humans; a webservice is an exact, stable interface built for other systems — which is precisely what lets programs rely on it.

That contrast is the whole point: a human-facing frontend can be redesigned freely, but a webservice promises a defined request/response shape that other software can depend on. Data-exchange formats (JSON, XML) are what make that promise concrete — they let the two sides agree on the exact structure of every document.

Once you decide to integrate one, the recurring decisions are:

  1. Data format — JSON is the default for web (compact, native to JavaScript); XML persists in enterprise and standards-heavy contexts.
  2. Frontend vs backend — frontend is simpler but exposes the API key and needs CORS; backend hides the key, can aggregate and cache, but adds a network hop of latency.
  3. API-key security — never ship a secret key in client-side code.
  4. Latency — for independent backend calls, run them in parallel so total time is the slowest call, not the sum.
  5. Error handling — networks time out and APIs return errors, so always handle failures gracefully.

Tip: A one-line mental model — frontend for people, webservice for programs; pick where to call it, protect the key, parallelise, and expect it to fail.

From Quiz: WEBT / External Webservices | Updated: Jun 23, 2026