What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
A . Patient with name as John
B. Patient with surname as bell
C. Patients with either name as John or surname as Bell
D. Patients with name as John and surname as Bell
Answer: D
Explanation:
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.
Hence coming back to question, endpoint would return Patients with name as John and (and is very important here) surname as Bell
Latest MuleSoft Certified Developer-Level 1 Dumps Valid Version with 99 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund