Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
HTTP Status codes
  • HTTP_OK(200) Standard response for successful HTTP requests.
  • CREATED(201) The request has been fulfilled, and a new resource is created
  • ACCEPTED(202) The request has been accepted for processing, but the processing has not been completed
  • NO_CONTENT(204) The request has been successfully processed, but is not returning any content
  • MOVED_PERMANENTLY(301) The requested page has moved to a new URL
  • NOT_MODIFIED(304) Indicates the requested page has not been modified since last requested
  • BAD_REQUEST(400) The request cannot be fulfilled due to bad syntax
  • UNAUTHORIZED(401) The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided
  • FORBIDDEN(403) The request was a legal request, but the server is refusing to respond to it
  • NOT_FOUND(404) The requested page could not be found but may be available again in the future
  • METHOD_NOT_ALLOWED(405) A request was made of a page using a request method not supported by that page
  • GONE(410) The requested page is no longer available
  • UNSUPPORTED_MEDIA(415) The server will not accept the request, because the media type is not supported
  • INTERNAL_SERVER_ERROR(500) A generic error message, given when no more specific message is suitable
  • NOT_IMPLEMENTED(501) The server either does not recognize the request method, or it lacks the ability to fulfill the request
  • SERVICE_UNAVAILABLE(503) The server is currently unavailable (overloaded or down)

RWS follows below mapping of user request and response HTTP Status code:

Method URL URL param name URL param value Data param Example HTTP return
GET Wrong Correct Correct NA localhost/ctrl1?action=show Not Found
GET Correct Correct (URL param is optional) Wrong (URL param is optional) NA localhost/ctrl?action=show1 Bad Request
GET Correct Wrong (URL param is optional) Correct (URL param is optional)NA localhost/ctrl?action1=show OK (ignore URL param)
GET Correct Correct (URL param is mandatory)Wrong (URL param is mandatory) NA Refer "Get a specified range of text from the module text on the controller" page of documentationBad Request
GET Correct Wrong (URL param is mandatory) Correct (URL param is mandatory)NA Refer "Get a specified range of text from the module text on the controller" page of documentationBad Request
POST Wrong Correct Correct Correct Not Found
POST Correct Wrong Correct Correct Bad Request
POST Correct Correct Wrong Correct Bad Request
POST Correct Correct Correct Wrong Bad Request