The builder-curl command executes a request against a specified URL and returns the result. This command is most commonly used for testing a URL after a build or deployment.

JSON Input Data Format
{
    "pid": string,
    "cloudid": string,
    "url": string,
    "args": string
}
pid * Specifies the build space ID, which can be any value, but must remain consistent throughout the build process. In Flow-fx, this ID is automatically set to match the ID of the Flow-fx.
cloudid * Specifies the {ANYNODE} ID on which the builder will be activated.
url * Specifies the target URL for the request.
args Specifies the arguments to be passed to the command. For more information on curl arguments, please visit: everything curl.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "...the outpur of the command..."
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}