Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 153

Refer to the exhibits. The webClient flow sends requests to the mockServer flow's HTTP Listener.

An HTTP:METHOD_NOT_ALLOWED error is thrown each time the webClient flow executes.

What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?

    Correct Answer: D

    The error message indicates that the method is not allowed because the HTTP listener in the mockServer flow only allows the POST method. Currently, the webClient flow is using the PUT method for the request. To correct this, the method attribute in the webClient flow's HTTP request operation should be changed to POST, which is allowed by the mockServer flow.

Discussion
ExamDevOption: D

D. Change the method attribute's value to "POST" HINT: It's inside the error message picture "405 method not allowed"

ExamDev

Also, look at the "allowed methods" attribute of mockServer listener!!!