Using HTTP in an RPG app running on iSeries

How can I transmit transactions using the HyperText Transfer Portocol (HTTP), version 1.0 within an RPG IV program on a iSeries/400?
In order to be an HTTP client from the AS/400 using RPG, you can develop a socket program. Scott Klement wrote a tutorial, which is a nice introduction.

Better you can use GETURI shareware, which can be used via command or API to directly act as a "browser," including SSL support and other cool stuff.

This was first published in June 2005