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 APIopen in new window.

Info

An extensive description of the IoTHub API can be found hereopen in new window.

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
Last Updated: