ocr: HTTP Client HTTP Server to HTTP client. server Clientto CGlgateway and database. The CGIS script serves as the CGI translator between the Script HTTP server and the database's API environment. APlinterface to Database DATABASE FIGURE 3. The CGI - gateway serves. a5 middleware between the HTTP: - server and the DBMSS API - interface.