openURL
Used to open a specified HTTPS website link, suitable for external redirection behavior.
Request Parameters
Parameter Name
Type
Required
Description
url
String
Yes
Target jump address, must be HTTPS protocol, character length not exceeding 200.
useSystemOpen
Boolean
No
Whether to use the local system browser to open, default false.
Response Parameters
None
Call Example
let payload = {
url: "https://www.google.com",
useSystemOpen: true
};
const response = await relayx.openURL(payload);
if (response.code === 200) {
console.log("URL opened");
}Last updated