The end points of my API-application render data based on the request mime type. I have implementing express\' response.format() to distinguish between the req types.