REST APIs and RPG -- Sample Code
by Scott Klement December 10, 2020
-------------------------------------------------------------------------

Thank you for attending the REST APIs and RPG seminar ("bootcamp"). I
have provided the following sample programs in the seminar:

Physical file (database table) that all programs use:

  custfile.pf.txt

Display files:

  cust002d.dspf.txt
  watsontr1d.dspf.txt

RPG code for Watson Language Translation Examples:

  watsontr1r.rpgle.txt = Example with HTTPAPI, DATA-GEN and DATA-INTO
  watsontr4r.rpgle.txt = Example with SQL HTTPPOSTCLOB, JSON_OBJECT, JSON_TABLE
  watsontr5r.rpgle.txt = Example with AXIS-C, DATA-GEN and JSON_TABLE

RPG code for Customer Maintenance (CRUD) Examples:

  getcust.rpgle.txt     = Example IWS provider. (Only shows GET.)
  cust001r.sqlrpgle.txt = Example DIY provider. Supports both JSON and XML. 
                          Supports GET, PUT, POST and DELETE methods.
  cust002r.sqlrpgle.txt = Example consumer using JSON, GET, PUT, POST
  cust003r.sqlrpgle.txt = Example consumer using XML, GET PUT POST
