...
Authentication is not considered here for simplicity reasons.
Replace
http://hub-trial.pipeforce.org
by the url of your target system.In case you would like to use special characters like spaces, umlauts,
?
or=
for example in your parameter value, you need to URL encode the URL as you would do with any such HTTP request. See Wikipedia for details: https://en.wikipedia.org/wiki/Percent-encoding
Also see Pipeline PIPEFORCE HTTP API.
HTTP POST
Info | ||||||
---|---|---|---|---|---|---|
Calling a command via HTTP POST (default behaviour):
Since
?params=body :
|
Here is an example to execute a single command as HTTP POST request, and set the message
parameter to a log
command using a HTTP POST data body in curl
:
...
Authentication is done here by using basic authentication in the
Authorization
header. See Authorization and the-u
switch of thecurl
terminal command for details.Replace
http://hub-trial.pipeforce.org
by the url of your target system.
Also see Pipeline PIPEFORCE HTTP API.
CLI
You can also use the PIPEFORCE CLI in order to execute a single Command. Here is an example to call the log
command and set the message
parameter accordingly:
...