Which of the following code can be used to send an error response to the client using the specified status code and clearing the buffer. A - request.sendError(statusCode) B - response.sendError(statusCode) C - header.sendError(statusCode) D - None of the above

Comments and Answers (2)

Priya

Priya

does anyone know the correct answer

Andy

Andy

What is the correct solution?

Avatar

{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}

{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}