Post Block

The Post block is used to send an HTTP POST request in a Workflow. A POST request is a method of sending information to a web server. The data is enclosed within the request.

The Post is useful for sending information to a server. For example, you may have an online portal for employees. You can use the Post block to send information from Runtime to the server, such as the states of certain assets. This way, they can check on the assets while not near a Workstation. This information could be processed by the web server so it can be viewed by an employee.

To use the Post block, complete the below steps.

  1. In Project Explorer > Workflows, click the Workflow to edit, or right-click and Add a new one.
  2. Drag and drop the Post block from the Toolbox into the work area.
  3. Connect the Post block to the previous and next block.
  4. Double-click the Post block to open the Post Editor.
  5. Add the information you wish to send.
    URL The URL for where you are sending the data to. This information is required to send the request.
    Header The headers required for the POST request listed in Name > Value pairs.
    Post Insert Variables. This is information retrieved from a Object's Property. The way these are formatted will depend on the API the request is being sent to.
  6. Click OK.
  7. If your request is using SSL, you may check the option to Ignore Certificate Errors On SSL Requests. It is not recommended to use this setting as an invalid SSL certificate will not provide a secure connection.