URL Encode
The URL encode function transforms regular characters into a URL-encoded format so they can be safely transmitted within URLs.
This process converts special characters (such as spaces, symbols, or reserved URL characters) into their encoded equivalents.
The mapping takes a regular string as input and outputs the URL-encoded value, ensuring it can be safely used in query parameters, paths, or HTTP requests.
Attributes for URL Encode Mapping
| Attribute | Required | Description |
|---|---|---|
| From | Yes | Defines the field name before mapping. |
| To | Yes | Defines the field name after mapping. |
| Precedence | Yes | Determines the order in which this mapping is applied relative to others. |
| Function type | Yes | Defines the function type of the mapping. Must be "String function". |
| Function | Yes | Defines the type of mapping. Must be "URL encode". |
Example
In this example, a string containing special characters is encoded before being used in a URL parameter.

