使⽤Laravel 8 PHP主流框架打造 RESTful API
RESTful API ⾃我介紹 • 王盛立 • 出版過⼀本 使⽤Laravel 8 PHP主流框架打造RESTful API(iT邦幫忙鐵⼈賽系列書) • 浪浪的事 Side Project https://langlangthing.com/ 今⽇菜單 ⾃我介紹 RESTful API Laravel程式範例說明 延伸補充資料 前後端分離 WEB API RESTful RESTful API 是什麼 Representational state transfer (REST) 表現層狀態轉換 Client Server REQUEST RESPONSE GET https://localhost/api/v1/articles/1 HTTP STATUS : 200 OK HTTP 協定 HTTP VERBS. URL. HTTP STATUS. 14:07:22", "updated_at": "2021-09-08 14:07:22" } } 201 CREATED https://localhost/api/v1/articles Headers Headers Body Body REQUEST RESPONSE JSON Accept : application/json Content-Type0 码力 | 22 页 | 3.41 MB | 1 年前3Julia 1.11.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492CONTENTS viii 38 Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133 50.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1300 67.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1301 68 Delimited0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492CONTENTS viii 38 Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133 50.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1300 67.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1301 68 Delimited0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492CONTENTS viii 38 Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133 50.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1300 67.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1301 68 Delimited0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1182 51.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1353 68.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1354 69 Delimited0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1180 51.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351 68.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1352 69 Delimited0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1350 68.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351 69 Delimited0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1350 68.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351 69 Delimited0 码力 | 2057 页 | 7.44 MB | 3 月前3julia 1.12.0 beta1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1171 50.4 Implementation Rounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1342 67.9 API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343 68 Delimited0 码力 | 2047 页 | 7.41 MB | 3 月前3Kubernetes 入門
外,一些系統內部使用的物件 Binding、Event 等 請參考 Kubernetes 的 API 說明文件。 1.5 Kubernetes 整體架構 Kubernetes 叢 集 由 兩 種 節 點 所 組 成:Master 和 Node。 在 Master 上 執 行 etcd、 API Server、Controller Manager 和 Scheduler 四個元件,其中後三個元件構成了 2 2.1.2 透過 API Server 訪問 Node、Pod 和 Service 圖 2.1 列出了存取叢集 API Server 及叢集內資源物件互動的情況。 圖例: 圖 2.1 存取 Kubernetes 叢集 以下是對圖 2.1 中各種存取途徑的詳細說明(每個數字表示一種訪問的途徑)。 (1) 叢集內部各元件、應用或叢集外部應用程式存取 API Server。 (2) 申請憑證 發放憑證 發放憑證 圖 2.12 CA 認證流程 2-56 Kubernetes 核心原理 2 (4) 添加一個“volume"給 Pod,在該“volume"中設定一個能存取 API Server 的 Token(該 Token 來自 Service Account Secret); (5) 透過添加“volumeSource"的方式,將上面提到的“volume"掛載到 Pod0 码力 | 12 页 | 2.00 MB | 1 年前3
共 28 条
- 1
- 2
- 3