I am building an in house app to help troubleshoot wifi connection and I'm using the API in ArubaOS 8.6 to run show commands. My issue is that they are almost all coming back in JSON format however I would like to see the show commands the same way they are shown on the cli. I have tried adding a 'Accept: text/plain' to my query however json is still returned. Is there any flag I can send with my request to get the responses back in text/plain format?
I think this is the expected behavior as JSON will give you the easiest way to parse the response. This is mentioned here https://developer.arubanetworks.com/aruba-aos/docs/showcommand-api
You can write a code to display the JSON output in the format that you need.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.