REST API with api/server/configuration #4677
-
version is 3.11.0 Hi, We're experimenting with setting up automated testing and want to configure a running instance of NextGen Connect with a predefined xml file. We are able to successfully POST the file and many aspects appear to work:
But there are some problems we've been experiencing. For example, the Javascript transformer code comes in without newlines. So scripts that use inline comments ( I did a bit of debugging on my own, but haven't come up with anything. I'm wondering if anyone in the community has helpful experience or advice. We're launching this kind of command in Unix where $XML_SERVER_CONFIG evaluates to the xml configuration file curl \
-k \
-X PUT \
-H "Content-Type: application/xml" \
-H "Authorization: Basic $AUTH_TOKEN" \
--data @$XML_SERVER_CONFIG \
"https://127.0.0.1:8443/api/server/configuration?deploy=true" Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's likely curl that is causing the problem. See #4391 |
Beta Was this translation helpful? Give feedback.
It's likely curl that is causing the problem.
See #4391