QuestionQ26

VerifiedDesign and implement API-led integrations

Refer to the exhibits.

The webClient flow sends requests to the mockServer flow’s HTTP Listener. An HTTP:METHOD_NOT_ALLOWED error is thrown every time the webClient flow runs.

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

Question Image

Question Image

Explanation

The HTTP Listener restricts accepted requests to POST, whereas the HTTP Request operation sends a PUT request. A listener rejects a request whose method is not in its allowedMethods setting with HTTP 405; setting the request method to POST satisfies that constraint.

Learn more

Community Discussion

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