To use the PAN-OS XML API, first use your admin credentials
to get an API key through the keygen command type.
You can then use the API key to test a simple call.
This guide exercises API requests using
cURL commands. However,
you can use other API tools such as
Postman and
RESTClient to
make API requests. By default, PAN-OS uses a self-signed certificate,
so you will need to use -k parameter with cURL requests. Alternatively,
you must replace the self-signed certificate with one from a known certificate
authority. If you have an internal certificate authority, generate
your own certificate and install it on the firewall.