A middleware to parse requests and return a proper response for the apis.is platform