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

Discussion created by Gilbert Employee on Sep 8, 2015

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 for PIM API example operations.