A rest api which can retreive simple, all data and it can also retreive data based on some filter and it can also return some sorted data.
The goal of this exercise is to build a REST API that exposes the provided json data. Requirements : Your API should support the following: fetch a single record via GET request (e.g. /data/Pakistan ) list all records via a GET request Filter by one or more fields/attributes (e.g. /data?matches-won[gte]=5&matches-lost[lte]=10 ) Sort by one or more fields/attributes (e.g. /data?sort=matches-won)