MCD-LEVEL-1 · Question #61
Refer to the exhibit. This RAML specification includes a resource and method to retrieve accounts by account_type and industry. What is the correct URI to get all retail finance accounts?
The correct answer is B. /accounts?account_type=retail&industry=finance. Correct answer is /accounts?account_type=retail&industry=finance Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append…
Question
Refer to the exhibit. This RAML specification includes a resource and method to retrieve accounts by account_type and industry. What is the correct URI to get all retail finance accounts?
Exhibit
Options
- A/accounts/retail/finance
- B/accounts?account_type=retail&industry=finance
- C/accounts/account_type=retail/industry=finance
- D/accounts?account_type:retail&industry:finance
How the community answered
(18 responses)- B89% (16)
- C6% (1)
- D6% (1)
Explanation
Correct answer is /accounts?account_type=retail&industry=finance Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a '?' Is added followed immediately by a query parameter. To add multiple parameters, an '&' is added in between each.
Topics
Community Discussion
No community discussion yet for this question.
