mmhttp
The module mmhttp makes it possible to communicate with external components via HTTP requests. Both modes, client or server side, can be used in a Mosel model: the client routines allow a Mosel model to send the HTTP requests GET, POST, PUT or DELETE to a web service. A model may also act as a web service by starting the integrated HTTP server. In this mode, the model gets notified about connections from remote clients via specific mmjobs events. The model can then reply to these requests using a set of dedicated routines.
To use this module, the following line must be included in the header of the Mosel model file:
uses 'mmhttp'