Set Wifi Client Connection Pac-File - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Chapter 4
Configuring HTTP API
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/anonymous-identity
Reply
{"anonymous-identity":"","success":"true","getAt":"2013-04-27 10:27:19"}

Set WiFi Client Connection pac-file

Example: set WiFi client pac-file to /tmp/pac
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"pac-file" : "/tmp/pac"}' https://localhost/api/2.0/wifi/client/wireless/pac-file
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi Client Connection pac-file
Example: get WiFi client connection pac-file
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/pac-file
Reply
{"pac-file":"","success":"true","getAt":"2013-04-27 10:31:28"}
Set WiFi CA Certificate of the Connection
Example: set WiFi client ca-cert to /tmp/ca-cert.pem
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"ca-cert"
: "/tmp/ca-cert.pem"}' https://localhost/api/2.0/wifi/client/wireless/ca-cert
Reply
{"success":"true","updatedAt":"2013-04-28 16:50:13"}
Get WiFi CA Certificate of the Connection
Example: get WiFi CA certificate of the connection
Request
curl -k -X GET -H 'password: cisco123!'
https://localhost/api/2.0/wifi/client/con/blizzard/wireless/ca-cert
OL-29491-01
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
Wi-Fi Client Information
4-45

Advertisement

Table of Contents
loading

Table of Contents