ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - MCD - Level 1 discussion

Report
Export

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?

A.
/accounts/retail/finance
Answers
A.
/accounts/retail/finance
B.
/accounts?account_type=retail&industry=finance
Answers
B.
/accounts?account_type=retail&industry=finance
C.
/accounts/account_type=retail/industry=finance
Answers
C.
/accounts/account_type=retail/industry=finance
D.
/accounts?account_type:retail&industry:finance
Answers
D.
/accounts?account_type:retail&industry:finance
Suggested answer: B

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.

asked 18/09/2024
Monterio Weaver
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first