Set Wifi Client Connection Phase2 Private Key - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Chapter 4
Configuring HTTP API

Set WiFi Client Connection Phase2 Private Key

Example: set WiFi client connection phase2-private-key to /tmp/private-key
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"phase2-private-key" : "/tmp/private-key"}'
https://localhost/api/2.0/wifi/client/wireless/phase2-private-key
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client Connection Phase2 Private Key
Example: get WiFi client connection phase2 private key
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/phase2-private-key
Reply
{"phase2-private-key":"","success":"true","getAt":"2013-04-27 11:12:57"}
Set WiFi Client Connection Phase2 Private Key Password
Example: set WiFi client connection phase2-private-key-password to 12345678
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"phase2-private-key-password" : "12345678"}'
https://localhost/api/2.0/wifi/client/wireless/phase2-private-key-password
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client Connection Phase2 Private Key Password
Example: get WiFi client connection phase2 private key password
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/phase2-private-key-password
Reply
{"phase2-private-key-password":"","success":"true","getAt":"2013-04-27 11:17:38"}
OL-29491-01
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
Wi-Fi Client Information
4-51

Advertisement

Table of Contents
loading

Table of Contents