Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-15081

Curl examples in JSONWS API are incorrect when parameters include a file upload

    Details

      Description

      Curl examples in JSONWS API are incorrect when parameters include a file upload.

      STEPS TO REPRODUCE

      1. Visit localhost:8080/api/jsonws and find /dlapp/add-file-entry that includes the "File" parameter
      2. Click Invoke
      3. Look at the curl example

      EXPECTED RESULTS
      File parameter is shown in curl example

      ACTUAL RESULTS
      Curl example shows

      curl http://localhost:8080/api/jsonws/dlapp/add-file-entry \
        -u test@liferay.com:test \
        -d repositoryId= \
        -d folderId= \
        -d sourceFileName='' \
        -d mimeType='' \
        -d title='' \
        -d description='' \
        -d changeLog=''

      BRANCH
      Reproduced
      9b8aaf3cfdd128e74d3c785f9c7c781bb069e5d7

      MASTER
      Reproduced
      69bf0ebbf0197ef5dcdfea27c3d1825227d9af1d

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dustin.ryerson Dustin Ryerson (Inactive)
                Reporter:
                bryan.engler Bryan Engler
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.X EE