-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.2 EE GA1 (6.2.10)
-
Fix Version/s: 6.2.X EE
-
Component/s: Web Services > JSON WS
Curl examples in JSONWS API are incorrect when parameters include a file upload.
STEPS TO REPRODUCE
- Visit localhost:8080/api/jsonws and find /dlapp/add-file-entry that includes the "File" parameter
- Click Invoke
- 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
- is related to
-
LPS-66125 Curl examples in JSONWS API are incorrect when parameters include a file upload
- Closed