Making HTTP requests through CICS as an HTTP client

HTTP client requests made from CICS® to a server on the Internet are initiated by a user-written application program.

Before you begin

Before writing an application program that makes an HTTP client request, read about the processing stages for these requests, because most of the stages are initiated by the application program itself. HTTP request and response processing for CICS as an HTTP client explains what the application program needs to do, and what actions CICS takes during the process.

About this task

For CICS as an HTTP client, the application program makes requests to a server and waits for the responses. An application program can control more than one connection, using a session token to differentiate between them.

To make HTTP requests and receive responses, write your application program to follow the process described in the subtopics, followed by samples: