From edff8c1da32cffacf8adc00cec160c259f626fdc Mon Sep 17 00:00:00 2001 From: doganyazar Date: Fri, 29 Oct 2010 08:57:56 +0000 Subject: [PATCH] removed info about COAPTester since it is not included in Contiki --- examples/rest-example/README | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/rest-example/README b/examples/rest-example/README index 49989dfbc..3bce83cfc 100644 --- a/examples/rest-example/README +++ b/examples/rest-example/README @@ -13,14 +13,6 @@ There are 2 nodes running the Rest code in COOJA (node 2 and 6). Their IP addres TEST: Please check the rest/rest-example.c source code to see which resources are available. (check the RESOURCE macros in the code). -COAP Examples: -You can use COAPTester client to interact with the COOJA motes running REST code. - -java COAPTester GET .well-known/core -java COAPTester POST led?color=blue mode=on #turn on the blue led -java COAPTester GET toggle -java COAPTester GET helloworld #get helloworld plain text - HTTP Examples You can use curl as an http client to interact with the COOJA motes running REST code. @@ -29,3 +21,5 @@ curl -H "User-Agent: curl" aaaa::0212:7402:0002:0202:8080/led?color=green -d mod curl -H "User-Agent: curl" aaaa::0212:7402:0002:0202:8080/.well-known/core -i curl -X POST -H "User-Agent: curl" aaaa::0212:7402:0002:0202:8080/helloworld #method not allowed +COAP Examples: +You need a COAP client to be able to to interact with the COOJA motes running REST code. URIs are same with the HTTP examples.