The correct URL to use should be http://X.X.X.X:8000/api/oic/a/light?di=30ec2d81-57b4-4eb6-4fec-7c3761453360 (you were missing the 'api/oic' in there)
> -----Original Message----- > From: [email protected] [mailto:iotivity-dev- > [email protected]] On Behalf Of yann > Sent: Thursday, November 30, 2017 12:20 PM > To: [email protected] > Subject: [dev] iotivity node rest api server > > Hello there! > > I experimenting with rest api to push iot data to cloud database > > I read about iotivity node and am giving it s shot > > This is what i'm experiencing issue with: > > I have started the iot-rest-api-server in non secure mode(using http) > > node iot-rest-api-server.js > > I started a simpleserver example and via the browser submitted a resource > get(http://X.X.X.X:8000/a/light?di=30ec2d81-57b4-4eb6-4fec-7c3761453360) > > output > > No request handler for /favicon.ico > No request handler for /a/light > > however, the simpleclient example requests work correctly. > > can anyone explain why it complain about the handlers which should be > there? > how can i fix this? > > regards! > > Yann > > _______________________________________________ > iotivity-dev mailing list > [email protected] > https://lists.iotivity.org/mailman/listinfo/iotivity-dev _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
