Lantronix
LSS2200-8P API User Guide
7
Troubleshooting
Note
: TheLSS2200-8P REST API uses a time-dependent web token. If the system time is changed, subsequent
REST requests may return an unauthorized response, as shown below. If that occurs, the client must logout and
log in again to continue using the REST API.
1 POST https://192.168.0.200:8000/rest/v1/date_time
2 Response: 200 {'DATE': '2022-06-22', 'TIME': '16:14:08', 'SOURCE': 'Local'}
3 GET https://192.168.0.200:8000/rest/v1/date_time
4 Response: 401 {'message': 'Unauthorized'}