The Common Gateway Interface (CGI) is an interface used by HTTP servers.

CGI is the industry standard that defines how to pass the HTTP server request to the program, and how to retrieve the generated response.