Skip to content

Commit

Permalink
Update README for excludeallparams (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
duffn authored Jan 23, 2025
1 parent 64f83b9 commit ae9528b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Remove all query parameters by passing in an empty string.
```
import querymodifier;
set req.url = querymodifier.modifyparams(url=req.url, params="", exclude_params=true);
# Or use the conveniecen function, `excludeallparams`.
# set req.url = querymodifier.excludeallparams(url=req.url);
# Original URL: example.com/?search=name&ts=123456789&v=123456789&id=987654321
# Modified URL: example.com/
Expand Down

0 comments on commit ae9528b

Please sign in to comment.