This method sets the HTTP status code number for the service response. To get the information about status code returned, please refer to the status code list.
For example, the status code 200 is for success, and the status code 404 denotes that the requested URI was not found.