Wireless Access

 View Only

API on wireless device

This thread has been viewed 10 times
  • 1.  API on wireless device

    Posted Mar 17, 2025 05:17 AM

    Hello,

    I tried to get full configuration of a mobility conductor on 8.12.0.3 version

    I have no issue with  command :  curl --insecure -b "aruba-cookie" -d "username=admin&password=password"  https://device:4343/v1/api/login

    After it is impossible to have an answer with this kind of command : curl --insecure -X GET --header "Accept: application/json" --header "X-CSRF-Token":"XXXXXX" "https://device:4343/v1/configuration/object/config?config_path=/mm/mynode&type=local"

    The hierarchy of two devices is

    Config Node  Type    Name

    -----------  ----    ----

    /            System  

    /mm          System  

    /mm/mynode   System  

    the answer is only a web page then my request is not correct but I don't understand why.

    Thanks in advance

    Cécile