Discussions

Ask a Question
Back to All

why do I get: " HTTP 404 Not Found"

from devicehive import DeviceHiveApi

urlauth = 'http://192.168.0.40:8090/dh/rest'
login = 'dhadmin'
password = 'dhadmin
#911'

device_hive_api = DeviceHiveApi(url_auth, login=login, password=password)

user = device_hive_api.get_current_user()