6
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

PostmanでCookieが必要なAPIを実行する手順Step.1 --Postman Interceptorの利用方法

Last updated at Posted at 2022-12-08

PostmanでCookieが必要なAPIを実行する方法 Step.1
--Postman Interceptorの利用方法(個人ノート)

1.Chromeブラウザに「Postman Interceptor」を追加する
image.png

2.インストール完了したら、拡張機能に有効にさせる
image.png

3.画面右上のデベロッパーモードをONにする
image.png
 表示されたIDをコピーする

4.ブラウザの拡張機能一覧にpostman interceptのアイコンをクリックし、
「Still using the Postman Chrome APP」を選ぶ
image.png

5.「Capture request」をONにする
image.png

6.Postman Classicを開け、リクエストの画面にCookieのリンクボタンを押下する
image.png

7.Sync Cookiesに入り、「Install Interceptor Bridge」を選択してインストールする
image.png
インストール中の画面
image.png

8.インストール完了したら、緑の「CONNECTED」が表示される
image.png

9.Chromeブラウザに戻り、もう一度拡張機能のPostman Interceptorをクリックし、Requests中の「Capture requests」をONにする
image.png

10.リクエストの履歴が見えるようになった
image.png

11.CookiesのCapture cookiesをONにする
image.png

12.HeaderにCookieを追加して、ログイン操作のリクエストができるようになった
image.png

6
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?