Used for the NodeSchool Rotterdam meetup
PRESENTATION: nodeschool reboot.pdf
To try this out at home, please run the server by using first:
npm install
and then:
npm start
There are four requests you can do:
GET /1- Getting JSON from the serverPOST /2- Posting yournamewhich returns anidPUT /3- Flashing a pixel usingx,y,and theidfrom the previous requestPUT /4- Only accepts aurl, which is used to retreive data from another (ExpressJS) server that returns JSON with:x,y,color,id.