I can make a HTTP Request for the first step to authenticate. The authentication to KACE is sending the user and password in the body. Postman works fine. The first HTTP request returns a success.
Is there a way to capture the cookie in the header from the prior step’s resposne?
The step output is not showing the header response that I can see, or anything like a cookie or token.
I have postman and a python script working just fine, but they both handle session data for subsequent calls.
KACE Systems Management Appliance 15.0 - API Reference Guide
When trying to test this with an ISC workflow using an interactive trigger and message with the http post, we used:
{{$.hTTPRequest.headers[“x-kace-authorization”]}}
{{$.hTTPRequest.headers[“X-Total-Count”]}}
{{$.hTTPRequest.headers}}
{{$.hTTPRequest.body}}
It returned other headers but not the x-kace-authorization. With my python script I was able to return the headers through a session.
We will possibly move towards a workflow sending an email to open a KACE ticket at this point.
ES is checking for any further options and potentially looking for an enhancement. ES was great to work with.
1 Like