Start of change

Examining the request line for an HTTP request

CICS® stores the request line used for each HTTP request, for the application program to access if needed. An application program can use the WEB EXTRACT command to extract components of the request URL (including the path, host name, port number and query string), the method used for the request, or the HTTP version of the request. Non-HTTP requests can also be identified in this way.

HTTP requests explains the items in a request line. The request URL is a major element of the request line; The components of a URL explains the different parts of a URL. Your application program might need to examine any of the items in the request line in order to process the request and provide an appropriate response. Some common reasons for extracting information from a request line are: The CICS Application Programming Reference has full reference information and descriptions of the options available on the WEB EXTRACT command. The WEB EXTRACT command lets you obtain the following items:
End of change