Skip to content

Conversation

12fahed
Copy link

@12fahed 12fahed commented Oct 1, 2025

Feature: Query Parameter Manipulation Utilities

This PR introduces a comprehensive set of utilities for manipulating query parameters in URLs, designed to enhance the Requestly automation capabilities.

What's Added

New Functions

  • modifyQueryParamUrl(paramName, paramValue, params) - Add/modify single or multiple query parameters
  • modifyQueryParamsUrl(params) - Add/modify multiple query parameters using an object
  • removeQueryParamUrl(paramName, params) - Remove single or multiple query parameters
  • removeQueryParamsUrl(params) - Remove multiple query parameters using an array

Key Features

  • Robust Input Validation - Comprehensive parameter validation with descriptive error messages
  • Unicode Support - Proper encoding of special characters and Unicode strings
  • Error Handling - Clear error messages for invalid inputs
  • Flexible API - Support for both single parameter and batch operations
  • URL Encoding - Automatic encoding of parameter names and values

@12fahed
Copy link
Author

12fahed commented Oct 3, 2025

@wrongsahil @sagarsoni7 can you please review this new feature ?

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants