Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 144

A shopping API contains a method to look up store details by department.

To get information for a particular store, web clients will submit requests with a query parameter named department and a URI parameter named storeId.

What is a valid RAML snippet that supports requests from web clients to get data for a specific storeId and department name?

    Correct Answer: C

    For a valid RAML snippet to support requests from web clients to get data for a specific storeId and department name, it should define the URI parameter {storeId} and the query parameter department. Option C presents the structure correctly by having /{storeId} as a URI parameter and department as a query parameter under a GET method.

Discussion
ExamDevOption: C

C. /{storedId}: get: queryParameters: department: