G Web Server Examples

CGI Basics

The following examples demonstrate how data is passed to and from CGI VIs in the G Web Server. You can use them as the starting points when developing your own CGI VIs.

CGI Environmental Variables
Calling a CGI.

CGI Call With Single Parameter (GET)
Passing a single parameter to a CGI VI as part of the URL.

CGI Call With Multiple Parameters (GET)
Passing multiple parameters to a CGI VI as part of the URL.

CGI Call With Multiple Parameters (POST)
Passing multiple parameters to a CGI as part of the content.


© National Instruments