如何使用邮递员拦截器 [英] How to use Postman Interceptor
问题描述
自从我升级到 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:
- Install Postman
- Install the Interceptor
- Activate the Interceptor by toggling the switch:
- Activate the Interceptor in Postman by clicking on the Interceptor Button on the top right (looks like a sattelite)
这篇关于如何使用邮递员拦截器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!