1.3 開發工具簡介

瀏覽器

課堂上以 Chrome 為主。

編輯器

測試 API 的工具

JSONVue

複製以下網址,貼到瀏覽器上看輸出:

https://tw.rter.info/capi.php

如下圖:

如果沒有,可到這個網址安裝,是個 Chrome 瀏覽器上的套件,方便看 JSON 資料。

postman

下載 Postman( https://www.postman.com/downloads/ ),方便進行 API 的測試與觀察。

Postman 可透過以下按鈕,跳過註冊(藍框處:lightweight API client):

透過 postman,測試以下 API(傳送資料類型選 GET):

  • https://tw.rter.info/capi.php

示意圖:

前置

在電腦桌面或其它自己習慣的位置,建立如下圖所示的資料夾:

Last updated