Symantec Privileged Access Management

CA Security Tech Tips: PIM: Using Curl Command For REST API

  • 1.  CA Security Tech Tips: PIM: Using Curl Command For REST API

    Broadcom Employee
    Posted Sep 08, 2015 01:02 PM

    CA PIM Tech Tips by Gilbert Figueroa, Principal Support Engineer for September 8th

     

     

    Sending API requests to PIM can be accomplished using various client based applications. Testing using GUI based applications is fine but when it comes to scripting you may need to utilize curl commands.

     

    When you send a command via curl, the following tips will help

     

         1) Use case sensitive commands. Even if you are submitting the request or POST command to Windows machine which isn't normally case sensitive.

     

         2) If you have problems submitting the '--data' portion of the curl command, use two double quotes to encapsulate the data.

     

         3) Submit all the fields/tags that the command has options for. Please visit wiki.ca.com for PIM API example operations.