Get All Produk Hukum

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 : /produk-hukum

Response : 200 OK

[
{
"id": 1,
"produk": "Produk Hukum",
"tahun": "2022",
"attachment": "http://localhost:8000/attachment/file-V6QPzXK.pdf",
"created_at": "09-03-2022"
}
]

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error