1, For the GetDeviceType example, the last api variable cannot be recognized. When I change it to "apiInstance" and then it's OK.
2, In the callback,
console.log('API` called successfully. Returned data: ' + data);
The JSON data cannot be shown normally. It just like "[object Object]", When I change it to
console.log('API` called successfully. Returned data: ' + JSON.stringify(data));
and then it's OK.
May have your attention pls. Thank you.
https://github.com/artikcloud/artikcloud-js/blob/master/docs/DeviceTypesApi.md#getdevicetype
1, For the GetDeviceType example, the last api variable cannot be recognized. When I change it to "apiInstance" and then it's OK.
2, In the callback,
The JSON data cannot be shown normally. It just like "[object Object]", When I change it to
and then it's OK.
May have your attention pls. Thank you.