def create_threshold(): """ Post a new threshold """ body = request.get_json() code, resp = ThresholdController.create(body) return code, resp