I tried but it did not work. I must mention that I have other custom routes on GET method that work, and they have been written the same way as I did for this command object.
Error is the error I get from Strapi:
{
"data": null,
"error": {
"status": 404,
"name": "NotFoundError",
"message": "Not Found",
"details": {}
}
}