QuestionQ27

VerifiedDesigning APIs and Connectivity

Refer to the exhibits. The Mule application implements a REST API that accepts GET requests from web clients at these URLs: http://acme.com/order/status and http://acme.com/customer/status.

What path value can be configured in the HTTP: GET event source to accept web-client requests from both URLs?

Question Image

Explanation

With the listener configuration’s base path set to /, */status uses the HTTP Listener wildcard for the varying first path segment and retains the required /status suffix. It therefore matches both /order/status and /customer/status.

Learn more

Community Discussion

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