SIMPOL Documentation

Summary

In this chapter we have developed a command line program to retrieve a page across the Internet using both GET and POST. We extended the initial version of the program to also take named parameters in any order. The techniques learned here could also be applied in other programs. The parameter handling can be reused in other command line programs. The use of the httpclientlib.sml library could be added to a web server or desktop program to retrieve information from another location on the Internet, such as currency exchange rates, stock market values, etc.