Postman App 和 Postman Interceptor 的使用

Postman

Postman 是一款用於測試各種 http 請求的工具,其原先被用於 瀏覽器插件,現在提供了App 形式的獨立軟件,但是在配合 插件 Postman Interceptor 的情況下,Postman App 可以直接借用瀏覽器中的一些配置數據,比如 Cookies,簡直方便的不要不要的。

安裝

環境說明

以筆者爲例
Postman App 支持 Mac 和 Windows 操作系統。
Postman Interceptor 需要在 Chrome 瀏覽器使用。

Postman App 的下載和安裝

https://www.postman.com/

Postman Interceptor 插件的安裝

在 Chrome 瀏覽器 訪問 https://chrome.google.com/webstore/search/postman%20interceptor 然後安裝就好了
如果沒有辦法訪問 Chrome webstore 可以訪問 chrome://extensions/ ,自己找一下離線插件包,拖進來。

使用

Postman App 使用 瀏覽器信息

直接在瀏覽器裏訪問想要測試的網站
然後大家 Postman App
點擊 下面圖片中的按鈕,開啓 Interceptor 就可以使用 瀏覽器 會話信息了
在這裏插入圖片描述

Postman App 複雜提交

如下圖,可以 Post Json 格式數據
也可以在 Header 中添加關鍵信息,比如 Cookies 會提示你開啓 Interceptor
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章