Body Modification

Paid Feature

Body Modification rules manipulate request or response bodies as strings in three available ways:

  • Find occurrences of a keyword and replace them with a new value,
  • Replace matches with a regular expression with a template string,
  • Override with a new arbitrary value.

Tip

To replace bodies with content of files, use Map Local rules.
To manipulate URL-encoded bodies or JSON bodies, use Scripting rules.