Internet of Things Lab Assignment 3

We activated our virtual environment and installed requirements specified in requirements.txt in the chapter03. We run both api and ws versions of this lab.

API Version

We used postman app to send POST requests to api version.

This is GET request and response using postman. postmanget

This is POST request and response using postman. postmanpost

Level 0: api0

Level 50: api50

Level 100: api100

Web Socket Version

We used the web page served from raspberrypi to change level in the ws version since it was implemented using sockets, it requires socket communication. GET and POST requests doesn't work in this version.

Level 25:

wspage2 ws25

Level 100:

wspage1 ws100