什麼是REST API?

最常見的 Web API 設計風格,用 HTTP 方法(GET/POST/PUT/DELETE)操作資源。大多數 AI 服務的 API 都是 RESTful 的 — 呼叫 Claude 就是 POST 一個請求到 Anthropic 的 endpoint。