RESTful API
Note
Basic knowledge of HTTP and a basic understanding of the concept of REST is required in this article. Please read the Introduction chapter first.
Introduction
The concept of REST (REpresentation State Transfer) is providing WebServices with a set of stateless operations and using the HTTP(s) protocol.
All functions of the IoTHub can be accessed via a RESTful API based on Mozilla Web Thing REST API.
Info
An extensive description of the IoTHub API can be found here.
Request Types
The following request types are used by the Elco IoTHub:
- GET- Retrieve some data from the IoTHub
- POST- Add something
- DELETE- Delete something
- PATCH- Update something
- PUT- Write something