QuestionQ58

VerifiedDeveloping Mule Applications

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

An HTTP:METHOD_NOT_ALLOWED error is thrown whenever the webClient flow runs.

Which attribute value in the webClient flow’s HTTP Request operation must be changed to prevent this error?

Question Image

Explanation

The HTTP Listener is configured to allow only POST requests (allowedMethods="POST"), but the HTTP Request operation sends a PUT request. Changing the request operation’s method value to POST aligns it with the listener’s allowed method and prevents the 405 method-not-allowed error.

Community Discussion

No comments yet. Be the first to start the discussion!