|
| | |
|
Executes a HTTP Request to a HTTP Server.
Parameters
General
Run From
This parameter allows user to choose between executing a HTTP Request locally (option "locally") or executing a HTTP Request remotely (option "Remotely").
If the user chooses option "Remotelly", its necessary to define the following parameters:
- Communication Profile: name of the communication profile used to execute the remote HTTP Server.
- Hidden: this parameter allows user to define if he wants to run the remote HTTP Request in hidden mode or not.
- Timeout: The timeout defined for connection. The value 0 is this parameter means that there is no timeout.. The timeout value is in miliseconds.
Target Answer Body string
The control or variable to save the result of the HTTP Request.
Target Answer Header string
The control or variable to save the result of the HTTP Request Header.
Target Status Code string
The control or variable to save the result of the status code.
Target Status Text string
The control or variable to save the result of the status text.
Fail if status code isn´t 2xx
Defines whether fails if status code isn´t 2xx.
Details
Server string
The name of the server to execute the HTTP Request.
Object string
The name of the object to execute the HTTP Request.
Port numeric
The port to communicate with the HTTP server.
Encoding string
The enchoding schema used for the communication.
The possible options for this parameter are:
Mode numeric
The mode of the HTTP Request.
The possible values for this parameter are:
- 1-GET
- 2-POST
- 3-PUT
- 4-DELETE
- 5-PATCH
- 6-HEAD
- 7-CONNECT
- 8-OPTIONS
- 9-TRACE
- -2-Reset Session
Note: -2 is only for Win32 clients. It ends the browser session, so that the next HTTP request is equivalent to being executed as if the applications just started.
In Android and Win10 clients, it does nothing.
Request
Additional Header string
Defines a additional request header for the HTTP Request.
Data string
The string that represents the request to HTTP Server.
Security
User string
The name of the user for the HTTP Request.
If there is no defined user for the web service call, just put "" on this parameter.
Password string
The password of the user of the HTTP Request.
If there is no user and password, just put "" on this parameter.
Certificate File string
Path of the client certificate file.
This parameter is not supported on Windows 10 Clients
Certificate File Password string
Client certificate File Password.
This parameter is not supported on Windows 10 Clients
Ignore Invalid Certificates
Defines whether ignores or not Invalid Certificates.
Certificate Fingerprint List string
List of Public Key SHA256 Hash for certificate pinning, separated by CR.
This parameter is not supported on Windows Mobile/CE.
Public Key Fingerprint List string
List of Public Key SHA256 Hash for certificate pinning, separated by CR.
This parameter is not supported on Windows Mobile/CE.
|
- In the Server parameter there should be only the server address, without any "/" and the remainder should go in the request Object parameter.
For example when you have a request address like http://www.myserver.com/Name1/Name2 you should call:
Server= "http://www.myserver.com"
Object="Name1/Name2"
- When using Self-signed Certificates, you should set the parameter Ignore Invalid Certificates to Yes, and add the certificate fingerprint in the Certificate Fingerprint List or the Public Key Fingerprint to the Public Key Fingerprint List.
|
Updated : 10/15/2018 2:59 PM
|
| |
|
|
|