In what way is a common gateway interface (CGI) MOST often used on a webserver?
A.
Consistent way for transferring data to the application program and back to the user
B.
Computer graphics imaging method for movies and TV
C.
Graphic user interface for web design
D.
interface to access the private gateway domain
Explanation:
The common gateway interface (CGI) is a standard way for a web server to pass a user’s request to an application program and to move data back and forth to the user. When the user requests a web page (for example, by clicking on a highlighted word orentering a web site address), the server sends back the requested page. However, when a user fills out a form on a web page and submits it, it usually needs to be processed by an application program. The web server typically passes the form information to a small application program that processes the data and may send back a confirmation message. This method, or convention, for passing data back and forth between the server and the application is called the common gateway interface (CGI). It is part of the web’s HTTP protocol.