Alertra Script Language 1.9

formdata

An alternate means of passing form variables, the formdata command allows you to set all form variables at one time. It also avoids the problem of form variables not meeting the ASL naming conventions which precludes the use of the form command. If you use this command, then you must make sure the data is properly encoded for HTTP transmission. The 'encode' option of the http command will not have any affect data submitted using this command.

usage: formdata [vars]

parameters:

req name type description
Y vars expression String to use in HTTP/S requests with form variables

examples

formdata "txtName=My%20website&txtFunction=monitor"

On the next HTTP/S request, the data "txtName=My%20websiteamp;txtFunction=monitor" will be sent as form variables.


Alertra Script Language: Language Reference