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:

  • A System i (AS/400, iSeries or i5) running OS/400 version V4R2 or later.
  • V4R5 w/certain PTFs required for SSL support (see README).
  • V5R1 required for XML parsing support.
  • You need TCP/IP configured OS/400 or i5/OS.
  • 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 i5/OS and you must create a *SYSTEM certificate store in the Digital Certificate Manager. See the README file for more information.

Note: Version 1.24 of HTTPAPI is complete and well-tested. However, some of the included "example" code provided is incomplete. Sorry for any inconvenience.

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

Save file (requires V5R4): Current Version (1.24)

XML installer (requires V4R4): Current Version (1.24)

ZIP file (requires V4R2): Current Version (1.24)


HTTPAPI is supported two different ways:

  1. Free (community) support is available via the FTPAPI/HTTPAPI mailing list there is also a searchable archive of this mailing list.
  2. Commercial support is available (for a fee) from Profound Logic Software

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.