Get All Country
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /api/country
Response : 200 - OK
[
{
"id": 1,
"name": "United States",
"created_at": "2023-01-30T05:58:46.709345+00:00"
},
{
"id": 2,
"name": "Indonesia",
"created_at": "2023-01-30T05:58:55.412153+00:00"
}
]
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error