Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
Validate a configuration file before loading
/rw/cfg
POST
action=validate Required
HTTP_OK(200)
<?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>
BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)
Robot controller errors, See Robot controller return codes
curl --digest -u "Default User":robotics -d "filepath=$TEMP/a.cfg&action-type=add-with-reset" -X POST "http://localhost/rw/cfg?action=validate"
Not supported in bootserver mode