How I get the parameter through the curl command ???

asked 2019-03-07 03:58:01 -0500

anonymous user


updated 2019-03-07 03:58:27 -0500

Hello , I want to send parameters to the pipeline the curl command in a terminal environment. I refer to the following site first

I tried to enter the curl command to get binary data like the one on the site.

[sample command]

curl 'http://localhost:18630/rest/v1/pipeline/ae18bc20-54cd-4036-acf9-3424dda 4d394/start?rev=0' --user admin:admin -H 'X-Requested-By: DataCollector' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"fields": "x", "fromField": "/x", "toField": "/changedField"}'

And I tried to fetch the corresponding json data from the pipeline by typing:)

ex) keyValue = fields

${pipeline: argv(0)}, ${pipeline: argv(1)}, ${pipeline: argv}, ${pipeline: keyValue}, ${keyValue}, $keyValue, ${attribute: attribute(keyValue)}, keyValue

However, in some cases, the key value could not be obtained. ㅠ . ㅠ I would be very grateful if you let me know how to get that parameter.

Or, let me know about the parameter methodology in the stream set.

edit retag flag offensive close merge delete