URL Filters
url_encode
Encodes a URL by replacing each instance of certain characters with escape sequences representing the UTF-8 encoding of the character.
Parameters
Parameter | Description |
---|---|
type (required) |
Must be url_encode |
Example
input: https://mozilla.org/?x=шеллы
schema:
type: string
filter:
type: url_encode
Outputs:
https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B
effective_url
Follow redirects and return the final URL.
Parameters
Parameter | Description |
---|---|
type (required) |
Must be effective_url |
Example
input: http://google.com
schema:
type: string
filter:
type: effective_url
Outputs:
https://www.google.com/