Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Login as Local User

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.

URL

/users

Method

POST

URL Params

action=set-locale Required

See Common URL parameters

Data Params

  • type={local|remote} Required

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

No content

Error Response

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

Sample Call

Login as local user

curl --digest -u "Default User":robotics -d "type=local" -X POST "http://localhost/users?action=set-locale"

Notes

Supported in bootserver mode