Get Statistik Agama

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 : /statistik/agama

Response : 200 OK

[
{
"nama": "ISLAM",
"jumlah": 7
},
{
"nama": "KRISTEN",
"jumlah": 12
},
{
"nama": "KATHOLIK",
"jumlah": 21
},
{
"nama": "HINDU",
"jumlah": 15
},
{
"nama": "BUDHA",
"jumlah": 14
},
{
"nama": "KHONGHUCU",
"jumlah": 10
},
{
"nama": "Kepercayaan Terhadap Tuhan YME / Lainnya",
"jumlah": 21
}
]

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error