Task: Fix JSON Request Handling Between curl and Flask
Task: Fix JSON Request Handling Between curl and Flask: a task in Terminal-Lego-15k (Harbor dataset). You have a simple Flask application with a POST route that receives JSON data. However, when sending a JSON payload via curl , the server prints Data Received: "None" instead of the actual JSON…
The task
You have a simple Flask application with a POST route that receives JSON data. However, when sending a JSON payload via `curl`, the server prints `Data Received: "None"` instead of the actual JSON content. Your task is to fix the `curl` command so that the Flask application correctly receives and parses the JSON data.
Part of PrimeIntellect/Terminal-Lego-15k.