CURL Command on AIX Return Failure with 'You can only select one http request.'
(Doc ID 2995281.1)
Last updated on DECEMBER 27, 2024
Applies to:
Oracle WebLogic Server - Version 10.3.6 and laterz*OBSOLETE: IBM AIX 4.3 Based Systems (64-bit)
Symptoms
An error occurs when curl is run in AIX to obtain WebLogic rest data
Use :
curl -v \
--user ${WLS_USERNAME}:${WLS_PASSWORD} \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{ links: [] , fields: ['rootDirectory']}" \
-X POST ${WLS_ADMINURL}/management/weblogic/latest/domainConfig/search
to obtain WebLogic rest data. In Linux, this script executes without problems,
It return error message: You can only select one http request.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |