Let’s assume the back-end is implemented with REST. Request — GET /product/search?page=1&size=10 Response {
"metadata": {
"page": 1,
"perPage": 10,
"pageCount": 2,
"totalCount": 14
},
"results": [
{
"product": "Pen",
"quantity": "10",
"unitprice": "2""currency": "USD",
"modifiedDate": "2022–06–21T11:45:22.921238"
} ,
…
]
} If you observe the response payload carefully, metadata…