The Rest-Api; Accessing The Rest-Api Documentation; Interacting With The Rest-Api; Http Methods - Safran WR-ZEN Series User Manual

Hide thumbs Also See for WR-ZEN Series:
Table of Contents

Advertisement

4.2

The REST-API

After upgrading the WRZ-OS to v5.0 or higher, REST API functionality is avail-
able.
4.2.1

Accessing the REST-API Documentation

The REST-API documentation is accessible in any WRZ device by accessing to
http://<ip>:8201/, where <ip> is a valid IP address that reach the device (e.g.
http://192.168.77.100:8201/ ). Once the user is logged in, a web page in
shown where all the methods and its corresponding examples are described.
Figure 4-1:
4.2.2

Interacting with the REST-API

The REST-API is accessible via http://<ip>:8201/. The user can make HTTP
requests with third-party applications such as curl, Postman or via its own applic-
ation. Also, the REST-API is testable directly from the documentation page.
4.2.2.1

HTTP Methods

The user can interact with the device using four HTTP methods:
CHAPTER
4
WR-ZEN Series User Manual Rev. v5.1
Main page of the REST-API documentation.
4.2  The REST-API
37

Advertisement

Table of Contents
loading

Table of Contents