Exam4Training

What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?

A Mule application contains two HTTP Listeners, each configured for different API endpoints:

http://acme.com/apis/orders and http: //acme .com/a pis/customers.

What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?
A . /apis/?
B . /apis/
C . /apis/orders|customers
D . /apis/*

Answer: D

Explanation:

Option 2 is the correct answer as /api/* accespts everything starting with /api/

Exit mobile version