Skip to content
Reference > Methods

urlEncode(url)

Definition

String urlEncode(String url)

Description

Encodes the URL with UTF-8 and returns the resulting string.

Parameter Definition

Name Type Description
url String URL to encode