Setting up a POST request

An Http POST request is primarily the same in function as a GET request with the addition of a message body to request or update data within a resource.
Prerequisites: You are connected to the station, which has an HttpClient component. HttpClientService has been added to station’s Service container. Standalone client types in the HttpClientService have been enabled.
  1. Expand HttpClient and change Method to POST.
  2. Expand Address, enter the Host Address and Path and click Save.
    The Address properties are configured for a POST request.
    Image
  3. Expand Request Body.
    Request Body properties open.
    Image
  4. Fill in the properties and click Save.
  5. Right-click HttpClient and click Actions > Send.
    The driver populates our test service (which echoes back the request content) from our Data slot, and automatically populates the Content-Length and Content-Type:
    Image