Get All Jabatan
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 : /jabatan
Response : 200 OK
[ { "id": 2, "jabatan": "Kepala Desa", "created_at": "2022-03-10T07:51:39.000000Z", "updated_at": "2022-03-10T07:51:39.000000Z" }]
Response : 404 NOT FOUND
Not Found
Response : 500 ERROR
Internal Server Error