curl --request GET \
--url http://localhost/api/api/cases/violations \
--header 'Authorization: Bearer <token>'"<array>"curl --request GET \
--url http://localhost/api/api/cases/violations \
--header 'Authorization: Bearer <token>'"<array>"JWT token obtained from AWS Cognito or custom authentication service
Violations retrieved successfully.