Tamper Data is a Firefox add-on to track and modify HTTP/HTTPS requests.

Is there a Google Chrome extension that can do the same?

  • Please see this answer – Rahil Wazir Feb 5 '14 at 12:27
  • @RahilWazir those answers are outdated. It can be done now. I just don't know an extension which can do it as smoothly as Firefox's Tamper Data – Ranveer Feb 5 '14 at 14:34
  • @Ranveer can you point me to Chrome API (or blog post or something like that) that tells tampering outgoing requests is possible now? I'm pretty sure it's not. Remember that it's really different to modify outgoing request or to generate a new request. – Olli Feb 6 '14 at 18:45
  • And instead of non-existing extension, you can use proxy, this post recommends Charles or Burb to achieve same thing with any browser. – Olli Feb 6 '14 at 18:52

Rahil Wazir's comment is correct but the right answer has sank to the bottom and was not well reasoned (perhaps back then it couldn't do this?)

you can easily capture requests made by web pages, tamper with the URL, headers and POST data

You can use RestEasy. Just put in all the headers, save the capture and then once you do that, you can modify the body to whatever data fits. I suggest using Inspect Element to retrieve the POST data. It is a one-way workaround, because technically, you can't edit http requests, but I found that you can fire your own.

Try using DevTools (Console Chrome Developer Tools) which are designed for that.

However it's probably not possible to modify HTTP requests in Chrome due to API restrictionsSO.

Some workarounds include:

or using proxies:

From API perspective, check chrome.webRequest.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.