Executes an HTTP method in a defined URL path.
&VarBasedOnHttpClient.Execute(Method, URL)
Where:
&VarBasedOnHttpClient
Is a variable based on the HttpClient data type.
Method
Is the type of HTTP method used to retrieve data. Only accepts HttpMethod domain values.
URL
Relative URL path for the object whose information wants to be obtained.
Type Returned:
HttpClient
Data Types: HttpClient
Generators: .NET, .NET Framework, Java
The retrieved data is stored in HttpClient data type based variable, and it can be obtained using ToString or To File methods.
&HttpClient.execute(HttpMethod.Get, "/servlet/hclientes")
&Result = &HttpClient.ToString()