Rest API - Query Parameters and Filtering
Given this REST API response sorted by rating in descending order, what is the first item's rating?
GET https://api.example.com/movies?sort=rating&direction=desc
Response:
[
{"title": "Movie A", "rating": 9.5},
{"title": "Movie B", "rating": 8.7},
{"title": "Movie C", "rating": 7.9}
]