MCD-LEVEL-1 · Question #57
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…
The correct answer is B. /customers/1234. 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…
Question
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?
Options
- A/customers?custid=true&custid=1234
- B/customers/1234
- C/customers/custid=1234
- D/customers?operation=get&custid=1234
How the community answered
(24 responses)- A4% (1)
- B92% (22)
- D4% (1)
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
Topics
Community Discussion
No community discussion yet for this question.