Get No Forwarding Status - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

AP Information
Reply
{"success":"true","updatedAt":"2013-05-15 15:07:03"}

Get No Forwarding Status

Example: get no forwarding status
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/noForwarding
Reply
{"noForwarding":"0","success":"true","getAt":"2013-05-15 14:23:10"}
Set No Forwarding Status
Example: set no forwarding status
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"noForwarding":"0"}' https://localhost/api/2.0/wifi/ap/noForwarding
Reply
{"success":"true","updatedAt":"2013-05-15 14:41:58"}
Parameter Restrictions
Only 0 or 1 is the valid value; otherwise, a 004 error is reported.
Get Wireless Mode
Example: get wireless mode
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/wirelessMode
Reply
{"wirelessMode":"9","success":"true","getAt":"2013-05-15 15:05:23"}
Set Wireless Mode
Example: set wireless mode to 9
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"wirelessMode" : "9"}' https://localhost/api/2.0/wifi/ap/wirelessMode
Reply
{"success":"true","updatedAt":"013-05-15 15:11:35"}
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-18
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents