Share this page

# web.url_encode

Encodes a URL.

    public static String web.url_encode( String message );

Java over HTTP Vuser Functions | Java Syntax

Argument | Description
--- | ---
message | The URL to encode.

## Return Values

This function returns the encoded URL.

## Parameterization

The message argument can be parameterized.

## Example

In the following example, the URL https://www.google.com is encoded.

Copy code

    String encodedURL = web.url_encode("https://www.google.com");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: