-
-
Notifications
You must be signed in to change notification settings - Fork 93
HTTP APIs
Alberto Geniola edited this page Nov 29, 2018
·
7 revisions
The Meross app talks directly with a HTTP API endpoint when the user firstly register. So far, it seems that the API offer the following methods:
- Login
- Device listing
- App usage tracing
- Register (TBD)
The login operation aims at exchanging the user's credentials for some tokens that can be later used for both HTTP API and for the MQTT broker authentication.
Request:
POST /v1/Auth/Login HTTP/1.1
Host: iot.meross.com
Content-Type: application/json
{"email": "YOUR_EMAIL", "password": "YOUR_PASSWORD"}
Response: