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.
- Expand HttpClient and change
Method to POST.
- Expand
Address, enter the Host Address and Path and click Save.The Address properties are configured for a POST request.
- Expand
Request Body.Request Body properties open.
- Fill in the properties and click Save.
- Right-click HttpClient and click .
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: