18

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?

4
  • Please see this answer Commented Feb 5, 2014 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
    Commented Feb 5, 2014 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
    Commented Feb 6, 2014 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
    Commented Feb 6, 2014 at 18:52

4 Answers 4

2

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.

2

Rahil Wazir's comment is correct. But, the right answer has sunk 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.

1

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.

1

You can use Tamper Dev (http://tamper.dev).

You press Alt + T and that starts intercepting all requests from the currently open Tab.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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