ISE API
Manual: Cisco Identity Services Engine API Reference guide,release 2.0
The user name and password are pressed into the HTTP header via BASE64 encoding.
650) this.width=650; "src=" Https://s4.51cto.com/oss/201711/08/16fb59774f9454bbba808d4ea030fd0d.png "title=" QQ picture 20171108190344.png "alt=" 16fb59774f9454bbba808d4ea030fd0d.png "/>650) this.width=650; src="/e/u261/themes/ Default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center; border:1px solid #ddd; "alt=" Spacer.gif "/>
1. Monitoring REST API
Only for monitoring status, sessions, etc.
▼ Sample Script 1:
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/08/f876594d39f2baf633d258afc1142f93.png "title=" Untitled. png "alt=" F876594d39f2baf633d258afc1142f93.png "/>
Sample Script 2:
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/08/18455f0a16eae7b62d3a6f2265a9c3a1.png "title=" 1.png " alt= "18455f0a16eae7b62d3a6f2265a9c3a1.png"/>
2. External RESTful Services API
Operations such as create, read, update, delete, etc.
To turn on the support ERS API feature in Ise
To create an account dedicated to the ERS
part of the sample script :
650) this.width=650; "src=" Https://s3.51cto.com/oss/201711/08/4d404708f19bc04a83fcf86645f59d0a.png "title=" 1.png " alt= "4d404708f19bc04a83fcf86645f59d0a.png"/>
ASA API
9.3.2 Release Start support
ASAV virtual version of ASA product
The ASA (config) #rest-api image flash:/asa-restapi-131-lfbff-k8. SPA
ASA (config) #http server enable
ASA (config) #http 0 0 MGMT
ASA (config) #aaa authentication http Console LOCAL
ASA (config) #rest-api agent
Asa#show version can see the rest API agent versions
Sample Script 1:
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/08/1a5fd00b7a0633c04d38f49703b5556c.png "title=" 2.png " alt= "1a5fd00b7a0633c04d38f49703b5556c.png"/> Partial Example script 2:
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/08/3b6b96fa6a95646dafe513078a680ac4.png "title=" 3.png " alt= "3b6b96fa6a95646dafe513078a680ac4.png"/>
Sample Script 3 (HTTP):
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/08/a7c393b2fb93ebca416884c94c3bb4d5.png "title=" 10.png "alt=" A7c393b2fb93ebca416884c94c3bb4d5.png "/>
This article is from the "Gorilla City" blog, please be sure to keep this source http://juispan.blog.51cto.com/943137/1980091
Python Cisco API