postman 與 swagger 是 API 開發工具

postman 是什麼

What is Postman?
Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.

 

swagger 是什麼

Swagger is a powerful yet easy-to-use suite of API developer tools for teams and individuals, enabling development across the entire API lifecycle, from design and documentation, to test and deployment.

 

以前串 API 就要參考 API 文件,看著一堆密密麻麻的說明,有時後還會串錯,就是搞不懂

現在 postman 就像是你在用 curl -X POST 或 GET 一樣的工具 (如果你習慣 curl 的話)

它官網上有 hub 可以 explore,就像是 github 這樣

有些廠商的 API 也會丟到 postmanswagger

它沒有像 API 文件一堆文字,是讓你能直接實際測試這家 API 怎麼用

也可以自訂參數上去

清清楚楚看到連結是什麼 (現在叫 endpoint),底下的參數是做什麼的

這條串的是要新增還是刪除、修改

那些內容也可以直接匯出 ,下載下來,給別人用再自行匯入就好

 

Related posts 相關文章
使用 LINE API 傳送訊息,但目前仍有 authToken 時間過期問題
More...
怎麼用 icinga-web 本身的 REST API – GET 部份
More...
監控系統 icinga (nagios 的分支) 安裝 icinga-web 時遇到 500 internal server error
More...
有人把台灣水利署的水庫蓄水量資料圖示化
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。