POST responses and HTTP status codes returned by RestAPI
Response Code | Description |
---|---|
200 OK | Command URI is successful. |
201 Created | Command URI is created. |
202 Accepted | Command URI is accepted. |
204 No Content | No content is returned for command URI. |
400 Bad Request | Request has failed due to incorrect parameters in the request. |
404 Not Found | Request is failed due to non-existent resource. |
405 Method Not Allowed | Request not supported on a resource. |
500 Internal Server Error | Request is failed due to an error in the switch. |