API authentication call fails to generate CSRF token
说明
API authentication call fails to generate CSRF token after upgrading SMA to 12.1.
原因
Starting with version 12.1 of the KACE System Management Appliance, the CSRF token is no longer generated as this is not needed for authentication. JWT is used instead.
解决办法
12.1 API calls must include the header with the following key/value pair. x-kace-api-version = (5 or Greater) for the calls to succeed.