RMNet is a library of COBOL callable subprograms for exchanging messages with other computers using the Hypertext Transfer Protocol (HTTP). It is possible to construct the messages to be exchanged strictly within the COBOL program, but the recommended solution is to use the Micro Focus XML Extensions product to reliably construct well formed messages.
To transmit a request for information to another computer and wait for the response, use the HttpGet subprogram. To transmit a message to another computer and wait for a response message, use the HttpPost subprogram. By HTTP protocol standards, use HttpGet when your program is merely requesting information from the remote machine and HttpPost when updating the data on the other machine. (Note that SOAP defies HTTP conventions and use HttpPost for all requests.)
If an error occurs during the processing of your program's request, use the NetGetError subprogram to retrieve a text interpretation of the error.