Skip to content

Request Mapping ​

Request Mapping currently supports mapping a request to local response content to replace the response returned by an online request. Its behavior is similar to Modify Request Content in Request Rewriting.

Steps ​

  1. Open Request Mapping Rules.
  2. Choose the original request to replace.
  3. Choose the local content to use as the mapping target.
  4. Save the rule and verify that it works.

Tip ​

  • Start by testing a single endpoint, then expand the rule after confirming the result.

HttpShark · HarmonyOS Network Inspector