The HTTP Post/Put action is used to post or upload a specified file or string to an HTTP server without using an external browser. You can also specify values to populate specific fields at the site. Optionally, the resulting content at the target url can be used to populate a variable.
From the Task Builder Available Actions pane, open the Internet folder and double-click the HTTP Post/Put action or drag it into the Steps pane.
In the URL box, enter the URL (uniform resource locator) to which the data should be posted.
Click the Auto fill... button to enter the location where the form data exists. You can select from URL or from file.
If you are posting text, select Use specific string and then enter the text as follows:
To post a string to the url, enter it in the Use specific string box.
To post values to fields, click the Open Field Editor button . Then enter the field name and value for each field you want to populate, and click OK.
To post a file, select Use local file. Then click the Open Folder button, navigate to the file, and click Open or simply enter the full path and filename manually.
If the site requires a Put command rather than the default Post, select Use Put command.
If you want to prevent the web page from setting cookies, select Block cookies.
Click the Advanced tab and enter the properties as follows:
In the Timeout box, enter the duration and increment that AutoMate should wait for the action to complete before giving up. (The default is 10 seconds.)
If you want to use authentication, select the Use authentication box, and enter the user name and password.
To populate a variable with the resulting page content, select the variable in the Populate variable with result box.
If you do not want to use the default proxy server as entered in Task Administrator System Options, click the Proxy tab and select an alternate setting in the Proxy type box. The options are None, Socks4, Socks4a, or Socks5. If you select any option other than None, enter the properties as follows:
In the Proxy host box, enter the host name or IP address for the proxy server.
Change the proxy port number if needed. The default proxy port is 1028.
If you are using Socks5 and want to use authentication, select the Use authentication check box, and enter the user ID and password.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
HTTP Post/Put Action