set_url

The set_url method sets the URL that you want to send the HTTP request to.

Syntax

set_url( url )

Arguments

Argument Description
url (string) The URL to send the request to.

Example

request:set_url("https://www.example.com/")

_HP_HTML5_bannerTitle.htm