Company: oracle_29oct
Difficulty: medium
REST API: Finest Food Outlets Problem Description Use the HTTP GET method to retrieve information from a database of food outlets. Query https://jsonmock.hackerrank.com/api/food_outlets?city=<city> to find all the records for a city. The query result is paginated. To access additional pages, append &page=<num> to the URL where <num> is the page number. The response is a JSON object with the following 5 fields: page : The current page of the results. (Number) per_page : The maximum number of results returned per page. (Number) total : The total number of results. (Number) total_pages : The total number of pages with results. (Number) data : Either an empty array or an array with objects that contain the food outlets' records. In data , each food outlet has the following schema: id : outlet id (Number) name : The name of the outlet (String) city : The city in which the outlet is located (String) estimated_cost : The estimated cost of the food in the particular outle