Set Wifi Client Wep-Key-Type - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Wi-Fi Client Information
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/wep-key3
Reply
{"wep-key3":"","success":"true","getAt":"2013-04-27 14:13:50"}

Set WiFi Client wep-key-type

Example: set WiFi client connection wep-key-type to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"wep-key-type" : "1"}' https://localhost/api/2.0/wifi/client/wireless/wep-key-type
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client wep-key-type
Example: get WiFi client wep-key-type
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/wep-key-type
Reply
{"wep-key-type":"","success":"true","getAt":"2013-04-27 14:15:22"}
Set WiFi Client PSK
Example: set WiFi client psk to 12345678
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"psk" :
"12345678"}' https://localhost/api/2.0/wifi/client/wireless/psk
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client PSK
Example: get WiFi client psk
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/psk
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-56
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents