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.

Download:

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

Save file (requires V5R1): Current Version (1.23)

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

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

Support:

Discussions regarding the HTTP API can be held on the FTP API's mailing list. If you're interested in helping with the development, or have bugs to report, or would just like to ask a question, you can subscribe to it here:

Subscribe here: FTPAPI List SignUp