Posting from data

Some endpoint URL’s, such as the targets for forms on webpages, expect the request body to contain url-encoded request parameters as the message body.
Prerequisites: You are connected to the station.
  1. Expand HttpClient > Request Body > Source.
  2. For Source Type, select ParameterStringSource from the drip-down list.
  3. Define your http request parameters, in the Parameters folder as usual:
    Image
  4. Ensure that your client’s Method is POST.
  5. Right-click HttpClient and click Actions > Send.
    The Data slot of the request body source is now read-only, and populated with the encoded parameter string:
    Image

    The driver automatically sets the Content-Type header to application/x-www-form-urlencoded.