![]() |
install | documentation | examples | articles | changelog 16.6.0 released on Mar 08, 2023 | articles updated on Mar 20, 2023
|
input-param <name>
To obtain input parameters from an incoming request, use input-param. Whether it's a web or command-line application, input parameters are specified as name/value pairs (see request_URL). The value of input parameter <name> will be in the string variable with the same name. Input parameter values are trimmed for whitespace (both on left and right). the request name will be "some_request" (handled by some_request.vely source code), and input parameters will be "my_par1" and "my_par2":http://<your web server>/<app name>/some-request?my-par1=val1&my-par2=val2
input-param my_par1
input-param my_par2
you can get these parameters and print out their values by using:<input type='hidden' name='param1' value='value1'> <input type='hidden' name='param2' value='value2'>
input-param param1
input-param param2
p-web param1
p-web param2
the output of which is:A request may be in the form of a web link URL, and getting the parameter values is the same:value1 value2
http://<your web server>/<app name>/<request name>¶m1=value1¶m2=value2
the value of input parameter "par" is undefined. Do not specify multiple input parameters with the same name.http://<web address>/<app name>/<request name>?par=val1&par=val2