The AC serves as a RESTful server and the PC serves as a client, ensuring that the route between the PC and the AC is reachable.
Customer want to get some data from our WLC without Access the WLC.
1.
1. Enter system view.
system-view
2. Enable RESTful access over HTTP.
restful http enable
By default, RESTful access over HTTP is disabled.
3. Create a local user and enter local user view.
local-user user-name [ class manage ]
4. Configure a password for the local user.
password [ { hash | simple } password ]
5. (Optional.) Assign a user role to the local user.
authorization-attribute user-role user-role
The default user role is network-operator for a RESTful access user.
6. Specify the HTTP service for the local user.
service-type http
By default, no service type is specified for a local user.
2.
3.
4.
Add X-Auth-Token and the corresponding value to Headers. This value is the token-id value returned after the last login to the device.
Users can use Postman as a RESTful client to configure and maintain Comware devices, and can use APIs to obtain device information without logging into the device.