Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Validate CFG file

Validate a configuration file before loading

URL

/rw/cfg

Method

POST

URL Params

action=validate Required

See Common URL parameters

Data Params

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

    <?xml version="1.0" encoding="UTF-8"?>
    <html
    xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>cfg</title>
    <base href="http://localhost/rw/cfg/"/>
    </head>
    <body>
    <div class="state">
    <a href="" rel="self"></a>
    <ul>
    <li class="cfg-validate" title="EIO">
    <span class="domain">EIO</span>
    </li>
    </ul>
    </div>
    </body>
    </html>

Resources

  • cfg-validate Validate a configuration file before loading. Inspecting a CFG file for any errors that would occur during a load of the file, including checking for duplicate instance-names.

Error Response

BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)

see HTTP Status codes

Robot controller errors, See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "filepath=$TEMP/a.cfg&action-type=add-with-reset" -X POST "http://localhost/rw/cfg?action=validate"

Notes

Not supported in bootserver mode