System Requirements:

  • IBM i (OS/400) version V5R2 or later.
  • Your TCP/IP configured.
  • You need an ILE RPG/400 compiler.
  • To use SSL, you must install the Digital Certificate Manager, the HTTP server and one of the IBM Cryptographic Access provider licensed programs. Certain PTFs are also required. See the README file in the distribution for details

 
Instructions

  • Log onto IBM i, and create a save file to store the store the distribution in. To do this, type:
    • CRTSAVF QGPL/HTTPAPI

  • Download my HTTP API distribution and save it to your PC -- or to IBM i (directly into the SAVF.)

  • If you sent it to your PC, FTP the distribution from your PC to IBM i. To do this:
    • Open an MS-DOS Prompt.
    • Type: cd \directory\where\you\put\httpapi.savf
    • Type: ftp your-ibmi-name-here
    • Type: (enter your username & password when asked)
    • Type: binary
    • Type: put httpapi.savf QGPL/HTTPAPI
    • Type: quit

  • Back on IBM i, type:
    • DLTLIB LIBHTTP (ignore errors if library doesnt exist)
    • RSTLIB SAVLIB(LIBHTTP) DEV(*SAVF) SAVF(QGPL/HTTPAPI)

  • Build & run the install program:
    • CHGCURLIB CURLIB(LIBHTTP)
    • CRTCLPGM INSTALL SRCFILE(LIBHTTP/QCLSRC)
    • CALL INSTALL

  • The install program will guide you through the rest of the process.