User Story #2: GET api/v1/olympians?age=youngest
Opened this issue · 0 comments
alect47 commented
As a user,
I can make a GET request to the endpoint api/v1/olympians?age=youngest.
-
If the GET request is successful, I see a JSON response with the information of the youngest olympian.
-
Complete endpoint
-
Account for sad paths
-
Fully test endpoint
-
Feature deployed to Heroku
-
Request
GET api/v1/olympians?age=youngest
- Successful Response
{
[
{
"name": "Ana Iulia Dascl",
"team": "Romania",
"age": 13,
"sport": "Swimming"
"total_medals_won": 0
}
]
}