Download HTTP API source:

This is an RPG IV service program that uses socket calls to implement the HTTP 1.1 protocol. The HTTP protocol is the data transfer protocol that is used to transfer documents over the World Wide Web.

This service program can, optionally, also do "https" (HTTP over SSL) requests to an SSL-enhanced web server.

This is a powerful utility with many uses, so I'm opening it up to the world. Since this has only been tested for a few applications with a few servers, I'm looking for people to help out with testing, documentation and maybe even with new features.

Have Fun! 

System Requirements:

  • IBM i (OS/400) version 6.1 or later.
  • You need TCP/IP configured on IBM i
  • You need an ILE RPG/400 compiler.
  • You need an ILE C compiler if you'd like to build the XML parser from source code. You can also download a pre-compiled XML parser
  • To use SSL, you must have SSL support installed in IBM i and you must create a *SYSTEM certificate store in the Digital Certificate Manager. See the README file for more information.


You can get the most recent version of HTTPAPI in two ways:

Save file (requires V6R1): Current Version (1.51)

ZIP file (requires V6R1): Current Version (1.51)


HTTPAPI is supported two different ways:

  1. Free (community) support is available via the public forums
  2. Commercial support is available (for a fee) from Profound Logic Software
  3. Note: The FTPAPI E-mail List (discontinued July 2021) was used for free support before the forums were added. There is a searchable archive of historic messages. For more recent discussions, search the forums instead.

Please use the preceding alternatives rather than e-mailing me for help. With more than 2000 shops using HTTPAPI, I simply cannot handle all queries personally.