Contents
Display Legacy Contents

 Print
    HTTP Request    
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:

    • utf-8
    • utf-7
    • ansi
    • unicode


    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.

See also
Synchronize
Update Project
Translate Internal Text
Set Comm. Profile Parameter
Get Comm. Profile Parameter
Set Synchro.Parameter
Get Synchro.Parameter
Set Synchronization File Copy
Bluetooth Start Device Discovery
Bluetooth Stop Device Discovery
Bluetooth Is Device Paired
Bluetooth Pair Device
Activate Connection
Is Connection Active
Deactivate Connection
Serial Open
Serial Write
Serial Read
Serial Flush
Serial Close
Socket Connect
Socket Write
Socket Read
Socket Close
Socket Accept
Ping
Activate Monitor
Deactivate Monitor
Web Service Run
XML Get Child Element
XML Get Child Element List
XML Get Element Attribute
XML Get Element Content
XML Get Element’s Attribute List
XML Get Elements Name
XML Get Root Element
XML Get Root Element List
XML Export from Table
XML Import to Table
JSON Get Value
JSON Get Array Item
JSON Get Array Item Count
JSON Get Name List
JSON Import to Table
JSON Export from Table
FTP Connect
FTP Set Current Dir
FTP Get File
FTP Put File
FTP File Exists
FTP Disconnect
FTP Create Dir
FTP Delete File/Folder
FTP Rename File
FTP List Files
Run Process on PC
Send File to PC
Get File from PC
List Files from PC
Kill Process on PC
Is Process Running on PC
Activate MIS Remote Controller
Stop MIS Remote Controller
Ping MIS Communicator
Get MIS Communicator Server Info
Shell Execute On Pc
Hardlock List Keys
Hardlock Read
Hardlock Write
Hardlock Check license
Push Notification Get Client ID
Push Notification Get Message
Push Notification Get Lost Message ID List
Push Notification Get Lost Message
Push Notification Delete Lost Message
Make Phone Call
SMS Send Message
Get Cell Tower Info
Samples

 
 
Updated : 10/15/2018 2:59 PM