title: How to modify http headers
body: <p>I am in process of automating UI test. API's are secured by oAuth. So to hit URL lets say <a href="http://mydom/api/welcome" rel="nofollow">http://mydom/api/welcome</a>
  Browser must have set with Authorization key as header and value must be valid token.</p>
  
  <p>For manual testing, I use <a href="https://chrome.google.com/webstore/detail/requestly/mdnleldcmiljblolnjhpnblkcekpdkpa" rel="nofollow">Requestly (Chrome Extension)</a> to set header.
  (Can anybody point me what requestly internally do so that each request from chrome get header value what was set by requestly?)</p>
  
  <p>Is there any way to set header value programmatically?</p>
  
  <p>PS: I used curl to call oath url to get valid token and set token value as env variable. Also i used postman to get the same. But all these does not affect when called from browser.</p>