I created an API in Azure API Management and I realized that APIM actually hides some of the bodies I return in responses. I get 200, but I don't get 404, 401, or 500.
I understand that it's better to control what is returned and that we don't want to give the end-user HTML with 500 error body.
But, I use 404 or 401 in my API and I returned some information in the response body. Is there a possibility to control what is being returned for certain status codes?