如何使用邮递员拦截器 [英] How to use Postman Interceptor

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

问题描述

自从我升级到 Postman 0.9.6 后,我就无法复制用户会话,因为 chrome 不允许 postman 获取用户 cookie.但是,他们决定通过创建另一个名为 Postman Interceptor 的插件来解决"这个问题,该插件路由您的邮递员请求并获取用户 cookie.他们在这里写了一篇关于这个奇妙工具的博客文章:

  • 通过单击右上角的拦截器按钮(看起来像卫星)激活邮递员中的拦截器
  • 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)

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

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