Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Start RAPID Spy Logging

Starts RAPID Spy Logging

URL

/rw/rapid/tasks

Method

POST

URL Params

action=start-spy Required See Common URL parameters

Data Params

log-file={file-path} Required

Success Response

NO_CONTENT (204), see HTTP Status codes

Example Response

None

Error Response

BAD_REQUEST(400), FORBIDDEN(403), UNSUPPORTED_MEDIA (415), see HTTP Status codes

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "log-file=log.txt" -X POST "http://localhost/rw/rapid/tasks?action=start-spy"

Notes

Will request mastership internally (No need to ask explicitly). By default, log file will be created in HOME folder. Not supported in bootserver mode.