1
0 Comments

REST API Web-Model for IoT Devices

Hi everyone!

I'm going to build a REST API server for storing sensor's data in a NoSQL database. Here is a brief description of the device:
like every other IoT device, this is an IoT device which reads sensor's data and sends a POST request to the web server, which then the server stores the data and then can be viewed on a mobile application.

I have some concerns when it comes to productizing the device.

  • What Web-Model is a good fit when it comes to building an API server.
  • What is the best approach to seperate each device's data from other devices, as each device should have unique data parameters. e.g: API key. Should the customers use the API key printed on the device's box to login the application? or is there a better approach?

Willing to hear your ideas.

on February 25, 2020