Setting up a GET request

An HttpClient component GET is a request to a given endpoint and is often used to retrieve data for a specific resource. It may include various parameters specific to that request.
Prerequisites: You are connected to the station. HttpClientService has been added to station’s Service container. Standalone client types in the HttpClientService have been enabled.
  1. Open the httpClient palette.
    The palette opens.
    Image
  2. Add an HttpClient component to your station from the palette and expand the Address slot.
    The Address properties open.
    Image

    The Secure option is recommended and refers to https on port 443 by default. The Insecure option for Mode configures the HttpClient without communication security (TLS, Transport Layer Security) and assumes port 80 by default.

     NOTE: Selecting Insecure can cause the data received to be snooped on or tampered with by malicious parties. Do not use the Insecure option for sensitive data. 
  3. Do one of the following:
    • Populate the Mode, Host Address, Port and Path properties and click Save.
    • Right-click Address, click Actions > Populate from Url, paste a complete url in the field and click OK.
      Image
  4. Right-click HttpClient and click Actions > Send.
    The driver makes the request, populates the Out slot with the http response body and displays the response code and any errors under the Health slot.
    Image