Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15366

Object Modeling Guide: Typo in curl command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0, 7.1.0
    • Component/s: documentation
    • Labels:
      None
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      0.5
    • Sprint:
      2020.12 - IDM

      Description

      In the Object Modeling Guide under Import Bulk Data > Upload a CSV File there is an extra dash in the curl command. 

      --F upload=@/path/to/example-users.csv \
      

      Resulting in an error: 

      curl: option --F: is ambiguous
      

      Doc Link: https://backstage.forgerock.com/docs/idm/7/objects-guide/import-data.html

      I recommend updating the command to use --form to remain consistent with the other headers:

      curl \
      --header "X-OpenIDM-Username: openidm-admin" \
      --header "X-OpenIDM-Password: openidm-admin" \
      --header "Accept-API-Version: resource=1.0" \
      --form upload=@/path/to/example-users.csv \
      --request POST \
      "http://localhost:8080/upload/csv/managed/user?uniqueProperty=userName"
      

       

       

        Attachments

          Activity

            People

            • Assignee:
              curtis.masuda Curtis Masuda
              Reporter:
              julian.keller Julian Keller
              QA Assignee:
              Son Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: