如何使用Postman Interceptor [英] How to use Postman Interceptor

查看:199
本文介绍了如何使用Postman Interceptor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我升级到Postman 0.9.6后,我无法复制用户会话,因为Chrome不允许邮递员获取用户Cookie。然而,他们决定通过创建另一个名为Postman Interceptor的插件来解决这个问题,该插件可以路由你的邮递员请求并获取用户cookies。他们在这里写了一篇关于这个奇妙工具的博客文章: https://i.stack.imgur.com/MOnE4.pngrel =noreferrer>


Ever since I upgraded to Postman 0.9.6 I can't replicate user sessions because chrome doesn't allow postman to get user cookies. However, they have decided to "work around" this issue by created another plugin called Postman Interceptor that routes your postman request and grabs the user cookies. They wrote a blog post about this wonderful tool here: http://blog.getpostman.com/index.php/2014/02/11/postman-v0-9-6-access-cookies-and-restricted-headers-plus-better-testing/

However, I can't seem to figure out how to get this thing to work. I have been trying for an hour now, and it still won't see my request as a logged in user

解决方案

This worked for me:

  1. Install Postman
  2. Install the Interceptor
  3. Activate the Interceptor by toggling the switch:
  4. Activate the Interceptor in Postman by clicking on the Interceptor Button on the top right (looks like a sattelite)

这篇关于如何使用Postman Interceptor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆