Your python:
DEVICE_URL = "https://opto-05-88-19/api/v1/device/restart"
Your path is wrong.
Your python:
DEVICE_URL = "https://opto-05-88-19/api/v1/device/restart"
Your path is wrong.
Arrrrgghh!! Thank you so much. Some days I am not able get out of my own way. I apologize for taking up your time with this.