Changes between Version 1 and Version 2 of RepQuickStart


Ignore:
Timestamp:
Sep 30, 2010, 9:15:21 PM (14 years ago)
Author:
s.meissner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RepQuickStart

    v1 v2  
    2626
    2727The response is the Observation and Measurement value in XML-RDF syntax.
     28
     29{{{
     30<?xml version='1.0' encoding='UTF-8'?>
     31<!DOCTYPE rdf:RDF [
     32        <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
     33        <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
     34        <!ENTITY sensor   'http://www.ict-sensei.org/Sensor#'>
     35        <!ENTITY mo 'http://www.ict-sensei.org/MeasurementAndObservation#'>
     36        <!ENTITY provider456 'http://www.resource-provider-456.com/resources#'>
     37]>
     38<rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:provider456="&provider456;"
     39         xmlns:mo="&mo;" xmlns:sensor="&sensor;">
     40<sensor:Light rdf:about="&provider456;LightSensor15"
     41                mo:hasTimeStamp="Thu Jan 14 09:15:36 2009"       
     42                mo:hasDecimalValue="0.23"
     43                mo:hasUnit="percent">
     44</sensor:Light>
     45</rdf:RDF>
     46}}}
     47
     48== REST client tools ==
     49
     50GET and  POST requests can be easily tested by using a web browser. For testing other REST methods like PUT, DELETE, and OPTIONS dedicated REST client tools are available, like:
     51
     52* RESTClient: plug-in for Firefox: https://addons.mozilla.org/en-US/firefox/addon/9780
     53* Java GUI tool: http://code.google.com/p/rest-client/
     54* soapUI: http://www.soapui.org/userguide/rest/index.html