{"id":773,"date":"2016-07-24T22:39:19","date_gmt":"2016-07-24T22:39:19","guid":{"rendered":"http:\/\/tpodolak.com\/blog\/?p=773"},"modified":"2016-07-24T22:39:19","modified_gmt":"2016-07-24T22:39:19","slug":"intercepting-browser-requests-postman","status":"publish","type":"post","link":"https:\/\/tpodolak.com\/blog\/2016\/07\/24\/intercepting-browser-requests-postman\/","title":{"rendered":"Intercepting browser requests with Postman"},"content":{"rendered":"<p>If you are doing any kind of rest api development you probably have heard of <i>Postman<\/i>. Long story short,  it  is a <i>Chrome<\/i> extension which allows you to send http requests in a very easy and intuitive way. Apart from that (and many other features), it also allows you to intercept browser request. As this feature is very easy to overlook, here is a simple guide how to use it.<br \/>\nIn the <i>Postman<\/i> window, click little satellite look-like button and toggle the &#8220;Interceptor&#8221; switch<br \/>\n<a href=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed.png\" rel=\"attachment wp-att-778\"><img decoding=\"async\" src=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed.png\" alt=\"Postman switch interceptor\" width=\"800\" class=\"aligncenter size-full wp-image-778\" srcset=\"https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed.png 1073w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed-150x94.png 150w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed-300x187.png 300w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/SwitchRed-1024x638.png 1024w\" sizes=\"(max-width: 1073px) 100vw, 1073px\" \/><\/a><br \/>\n<i>Postman<\/i> will ask you to install additional plugin called <i>Postman Interceptor<\/i><br \/>\n<a href=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Install.png\" rel=\"attachment wp-att-775\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Install.png\" alt=\"Install\" width=\"507\" height=\"271\" class=\"aligncenter size-full wp-image-775\" srcset=\"https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Install.png 507w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Install-150x80.png 150w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Install-300x160.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/a><br \/>\nOnce you click &#8220;Install&#8221; you will be redirected to <i>Chrome Web Store<\/i> where you can add the plugin to the browser. After successful installation you will see additional icon in <i>Chrome<\/i> menu bar. Click it and toggle &#8220;Request capture&#8221; switch<br \/>\n<a href=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/CaptureEnabled.png\" rel=\"attachment wp-att-774\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/CaptureEnabled.png\" alt=\"CaptureEnabled\" width=\"237\" height=\"435\" class=\"aligncenter size-full wp-image-774\" srcset=\"https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/CaptureEnabled.png 237w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/CaptureEnabled-82x150.png 82w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/CaptureEnabled-163x300.png 163w\" sizes=\"auto, (max-width: 237px) 100vw, 237px\" \/><\/a><br \/>\nWhen you go back to <i>Postman<\/i> and toggle again &#8220;Interceptor&#8221; button, it will be synchronized with <i>Postman Interceptor<\/i> plugin<br \/>\n<a href=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/InSync.png\" rel=\"attachment wp-att-776\"><img decoding=\"async\" src=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/InSync.png\" alt=\"InSync\" width=\"800\" class=\"aligncenter size-full wp-image-776\" srcset=\"https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/InSync.png 970w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/InSync-150x34.png 150w, https:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/InSync-300x68.png 300w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><br \/>\nand from now on, requests sent by browser will be visible in requests history<br \/>\n<a href=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Interception.gif\" rel=\"attachment wp-att-777\"><img decoding=\"async\" src=\"http:\/\/tpodolak.com\/blog\/wp-content\/uploads\/2016\/07\/intercepting-browser-requests-postman\/Interception.gif\" alt=\"Interception\" width=\"800\" class=\"aligncenter size-full wp-image-777\" \/><\/a><br \/>\nwhere you will be able to modify and resend them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are doing any kind of rest api development you probably have heard of Postman. Long story short, it is a Chrome extension which allows you to send http requests in a very easy and intuitive way. Apart from that (and many other features), it also allows you to intercept browser request. As this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[303],"tags":[304],"class_list":["post-773","post","type-post","status-publish","format-standard","hentry","category-postman","tag-postman"],"_links":{"self":[{"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/comments?post=773"}],"version-history":[{"count":6,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/posts\/773\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/media?parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/categories?post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tpodolak.com\/blog\/wp-json\/wp\/v2\/tags?post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}