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 V4R2 or later.
  • V4R5 w/certain PTFs required for SSL support (see README).
  • V5R1 required for XML parsing support.
  • 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 V5R2): Current Version (1.29)

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


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.