What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL’s using a single HTTP listener event source?

Refer to the exhibits.

The mule application implements a REST API that accepts GET request from two URL’s which are as follows

1) http://acme.com/order/status

2) http://acme.com/customer/status

What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL’s using a single HTTP listener event source?

A . *[order,customer]/status
B. ?[order,customer]/status
C. */status (Correct)
D. *status

Answer: C

Explanation:

Correct answer is */status as it is the correct way to use wildcards while configuring path value in HTTP listener

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments