Changes between Version 6 and Version 7 of RepQuickStart


Ignore:
Timestamp:
Oct 7, 2010, 5:42:25 PM (14 years ago)
Author:
s.meissner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RepQuickStart

    v6 v7  
    2222[[Image(runTest.png)]]
    2323
    24 If everything went well the Restlet server should be listening on HTTP port 8188.       
     24If everything went well the REST server should be listening on HTTP port 8188. 
    2525
    2626[[Image(runningTestServer.png)]]
    2727
    28 By default REPTest.java creates a REP listening on HTTP port 8185. It attaches a RAIHandler of type SensorType for a dummy light sensor.
    29 The hard coded light value is read from the file xml/sensors/light.rdf. It can be requested by a REST GET method call on http://localhost:8185/rep/s/light.
     285. The REP can now be tested with a suitable REST client.
     29To request a value from a dummy light sensor reading from the file xml/sensors/light.rdf
     30use a REST GET method call on http://localhost:8188/rep/s/light
    3031
    31 The response is the Observation and Measurement value in XML-RDF syntax.
     32[[Image(GETlight.png)]]
     33
     34The response is the Observation and Measurement value in XML-RDF syntax, which is returned in the Response body.
    3235
    3336{{{
     
    5053}}}
    5154
     55The example REP also offers value from a dummy temperature sensor reading from the file xml/sensors/temp.rdf
     56
     57[[Image(GETtemp.png)]]
     58
     59
    5260== REST client tools ==
    5361