1

I'm trying to call a GET request using chopper with a custom referer. But everytime it calls, it only uses the default referer. I added a custom header and it still works

Set up request with custom header with custom referer

The referer does not change

Chris Maverick
  • 928
  • 1
  • 8
  • 18

1 Answers1

1

You can not change referrer programmatically. please refer this web page : https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name

A forbidden header name is the name of any HTTP header that cannot be modified programmatically; specifically,

utarid
  • 1,642
  • 4
  • 24
  • 38
  • OMG. I'm a mobile developer so I have no idea about this. Do you have any "tweak" or "cheat" to do this ? Since I only run this web on local scope. – Chris Maverick Dec 21 '21 at 09:12
  • actually I dont know, sorry. – utarid Dec 21 '21 at 09:16
  • If it's just for development purposes you could modify it with a proxy or an extension e.g. https://chrome.google.com/webstore/detail/requestly-modify-headers/mdnleldcmiljblolnjhpnblkcekpdkpa – Gaz Dec 21 '21 at 12:24