Multiple Replace string modifications to same request URL

Open
#25 2 comments 0 reactions 1 assignee View on GitHub

@lazyvab is already working on this.

Since Dec 9, 2022.

Assessment

This issue has not been assessed yet.

Description

stale

If a user wants to replace multiple strings in a request URL, (s)he would have to either create multiple Replace String rules or add multiple conditions in the same Replace String rule but replicate the same URL condition everywhere.

For example,
In a URL like this: https://myserver.com/api/v1/users,
I want to replace:

  • myserver to stage.myserver
  • v1/users to v2/users.

So the final URL becomes: https://stage.myserver.com/api/v2/users

Suggestion:
In the Replace String rule, the user should be able to add multiple modifications in a single URL condition.

Dominant language
TypeScript
Stars
87
Forks
23
Avg merge
14h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from requestly/interceptor

All issues in requestly/interceptor

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.