Changes between Version 6 and Version 7 of documentation/tools/monitoring/rest
- Timestamp:
- 02/18/12 14:30:16 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tools/monitoring/rest
v6 v7 19 19 20 20 To call a method on the Rest server a HTTP POST message has to be send to the server. 21 This POST message has to contain the UR I(name of the method) and a number of arguments, if necessary for the call.21 This POST message has to contain the URL (name of the method) and a number of arguments, if necessary for the call. 22 22 23 For example, if we want to call the method ''hello_client(int i)'' we use the name of the call as the URL for the HTTP header. The method also takes one argument, in the payload of the HTTP POST we append this argument using a prefix that indicates the order of the arguments. 23 24 24 25 {{{ 26 POST /hello_client HTTP/ 1 . 1 27 User Agent: HAMcast Monitoring 28 Content Length: 32 29 Content Type: Content Type: text/plain; charset=utf 8 25 30 31 arg0=5; 26 32 }}} 27 33