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 MCPA-Level 1 exam Dumps Valid Version with 58 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments