Example of using SQR through CGI
Note: the form and link below are not actually connected to an
active SQR program, but this page can be used a model for installing
the sample programs in your own environment.
Post method using a form
Get method using a link
This is an example of a GET method CGI call. Notice the Special characters
in the values for the parameters. This is necessary because ?, +, = and &
are treated specially in the href attribute. This SQR program lists all
parameters passed to it. It returns output in PDF format.
/cgi/cgi-lib/example2.sh?VAR1=Do+you+like+A%26W+Root+Beer%3F&VAR2=1%2B1%3D2