What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?

A RAML specification is defined to manage customers with a unique identifier for each customer record.

What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?
A . /customers?custid=true&custid=1234
B . /customers/1234
C . /customers/custid=1234
D . /customers?operation=get&custid=1234

Answer: B

Explanation:

URI parameter (Path Param) is basically used to identify a specific resource or resources. For eg: the URL to get employee details on the basis of employeeID will be GET /employees/{employeeID} where employees is resource and {employeeID} is URI parameter. Hence option 1is the correct

answer

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments