def METHOD_NAME(self, body):
    settings_manager = SettingsManager()
    settings_proxy_enabled_resource = SettingsProxyEnabled(settings_manager)
    self.api.add_route(self.api_url, settings_proxy_enabled_resource)
    self.simulate_request(self.api_url, method="PUT", body=json.dumps(body) if body else None)
    self.assertEqual(self.srmock.status, falcon.HTTP_BAD_REQUEST)