HAMcast developers

Changes between Version 6 and Version 7 of documentation/tools/monitoring/rest


Ignore:
Timestamp:
02/18/12 14:30:16 (12 years ago)
Author:
zagaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/tools/monitoring/rest

    v6 v7  
    1919
    2020To 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 URI (name of the method) and a number of arguments, if necessary for the call.
     21This POST message has to contain the URL (name of the method) and a number of arguments, if necessary for the call.
    2222
     23For 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.
    2324
    2425{{{
     26POST /hello_client HTTP/ 1 . 1
     27User Agent: HAMcast Monitoring
     28Content Length: 32
     29Content Type: Content Type: text/plain; charset=utf 8
    2530
     31arg0=5;
    2632}}}
    2733