http://dev.acme.com/api/patients?
What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021
A . Patient with id 2021
B. Patients from year 2021
C. No patients
D. All patients
Answer: B
Explanation:
Correct answer is Patients from year 2021.
The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021
Latest MCD-Level 1 Dumps Valid Version with 99 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments