이새끼 왜 JSON body에 내용이 없다고 뜨냐


try:

        json_data = request.get_json()

        if json_data is None:

            raise ValueError("No JSON data found")


    except ValueError as e:

        app.logger.error('No JSON data found: %s', e)

        return jsonify({"error": "No JSON data found"}), 400


    except Exception as e:

        # Catching any other exceptions that may occur

        app.logger.error('Error parsing JSON: %s', e)

        return jsonify({"error": "JSON parsing failed"}), 400


    if not json_data:

        return jsonify({"error": "No JSON data received"}), 400 << 이거 계속 뜸