Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
A client is normally logged in as a remote client. To login as local client it needs access to an enabling device. To successfuly login as local user, the client should make the request and within 5 seconds press and release the enabling button.
/users
POST
action=set-locale Required
HTTP_OK(200)
No content
CONFLICT(409) : if the user has already logged in as remote or local client and sets the type as remote or local respectively.
FORBIDDEN(403) : if the user does not toggle the enabling button within 5 seconds.
BAD_REQUEST(400) : if the user has sent invalid values for type.
See Robot controller return codes
Login as local user
curl --digest -u "Default User":robotics -d "type=local" -X POST "http://localhost/users?action=set-locale"
Supported in bootserver mode