Cisco ASA REST API – Part II: How it’s really working?
First published: 31/Oct/2016
Last update: 31/Oct/2016
ASA REST API version: 1.3.2
In previous chapter we configured ASA to support REST API interface and executed simply query. It was nice to see something in action but let’s now think how it’s working and how we can use it.
Every operation you can do using REST API you can also execute via traditional CLI commands or simplifying your life a little by using ASDM. Many of parameters you can fetch using SNMP or from syslog. So is it just another way to manage your device? Answer is both yes and no. Yes, because it is way of managing the device. No, because using REST API you have to stop thinking that you configure service but you are programming it usually as a part of bigger script or application.
REST API on ASA
REST API on ASA side is small plugin loaded into device flash memory and then activated using CLI.