4.2.3
Accessing the REST-API through the documentation page
The REST API is testable directly from the documentation page. For doing this:
CHAPTER
•
4
WR-ZEN Series User Manual Rev. v5.1
Note:
For monitoring purposes, use value_string or value_number
format because of their light computation impact. Other formats
require more computation time and will affect the system per-
formance if they are requested frequently.
1.
Open the REST-API documentation page in a web browser by navigating
to http://<ip>:8201/
2.
Obtain an authentication token by clicking the "Authorize :lock: " button on
the top of the page and inserting the credentials:
a.
Open the Authorize dialog for obtaining a token:
b.
Enter the credentials in the Authorize form.
4.2 The REST-API
39