MuleSoft
MCD-LEVEL-1 · Question #112
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter? A. 1. /customers: 2. /get: 3. /customerId: B. 1. /customers: 2. /{customerId}: 3. get: C. 1…
The correct answer is B. 1. /customers: 2. /{customerId}: 3. get. Correct answer is below as it follows the correct syntax.
Designing APIs
Question
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter? A. 1. /customers: 2. /get: 3. /customerId: B. 1. /customers: 2. /{customerId}: 3. get: C. 1. /customers: 2. /customerId: 3. get: D. 1. /customers: 2. get: 3. /{customerId}:
Options
- A
- /customers:
- /get:
- /customerId:
- B
- /customers:
- /{customerId}:
- get:
- C
- /customers:
- /customerId:
- get:
- D
- /customers:
- get:
- /{customerId}:
How the community answered
(43 responses)- A2% (1)
- B93% (40)
- D5% (2)
Explanation
Correct answer is below as it follows the correct syntax.
Topics
#RAML#URI parameters#resource definition#API design
Community Discussion
No community discussion yet for this question.