Check Device Connectivity
GEThttps://device.ap-in-1.anedya.io/v1/check
This API endpoint can be used to check the device connectivity. The API will simply return 200 OK Status if your device is authorized, binded and is allowed to connect with the Platform.
Responses
- 200
API returns 200 OK if the device is authenticated successfully
Authorization: Auth-mode
name: Auth-modetype: apiKeyin: headerdescription: The value can be either `key` or `tls` depending on the requirement. If the value is `tls` the Authorization header is not mandatory. In case of TLS based authentication priority is given to client certificate and request fails if same can not be verified.
name: Authorizationtype: apiKeyin: headerdescription: This header is mandatory only if `Auth-mode` is set to `key` and should contain the node connection key. For TLS authentication this header is ignored
- curl
- nodejs
- python
- go
- rust
- csharp
- ruby
- php
- java
- powershell
- CURL
curl -L 'https://device.ap-in-1.anedya.io/v1/check' \
-H 'Auth-mode: <Auth-mode>' \
-H 'Authorization: <Auth-mode>'
ResponseClear