Execute method

Official Content
This documentation is valid for:

Executes an HTTP method in a defined URL path.

Syntax

&VarBasedOnHttpClient.Execute(Method, URL)

Where: 

Method
    Is the type of HTTP method used to retrieve data (described here). Only accepts HttpMethod domain values.

URL
    Relative URL path for the object whose information wants to be obtained.

Type Returned:
The retrieved data is stored in HttpClient data type based variable, and it can be obtained using ToString or To File methods.

Scope

Objects:  ProcedureWeb Panel
Generators:  .NET, Java

Samples

&HttpClient.execute(HttpMethod.Get, "/servlet/hclientes")
&Result = &HttpClient.ToString()